Skip to content
This repository was archived by the owner on May 14, 2024. It is now read-only.

Commit 5ca670b

Browse files
authored
Merge pull request #22 from microsoft/dev/edskrod/master/UpdatePlatformTarget
Update the PlatformTarget and CI trigger.
2 parents 8b21cc1 + 8fc9268 commit 5ca670b

File tree

2 files changed

+10
-26
lines changed

2 files changed

+10
-26
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,14 @@
55
# This pipeline builds the Wpf project, runs unit tests, then saves the MSIX build artifact.
66
name: Wpf Continuous Integration
77

8-
# Trigger on every push
9-
on: [push]
8+
# Trigger on every master branch push and pull request
9+
on:
10+
push:
11+
branches:
12+
- master
13+
pull_request:
14+
branches:
15+
- master
1016

1117
jobs:
1218

MyWPFApp/MyWPFApp.csproj

Lines changed: 2 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -9,31 +9,9 @@
99
<TargetPlatformMinVersion>10.0.17134.0</TargetPlatformMinVersion>
1010
<StartupObject>MyWPFApp.App</StartupObject>
1111
</PropertyGroup>
12-
13-
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
14-
<PlatformTarget>AnyCPU</PlatformTarget>
15-
</PropertyGroup>
16-
17-
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x86'">
18-
<PlatformTarget>x86</PlatformTarget>
19-
</PropertyGroup>
20-
21-
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'">
22-
<PlatformTarget>x64</PlatformTarget>
23-
</PropertyGroup>
24-
25-
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
26-
<PlatformTarget>AnyCPU</PlatformTarget>
27-
</PropertyGroup>
28-
29-
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x86'">
30-
<PlatformTarget>x86</PlatformTarget>
31-
</PropertyGroup>
32-
33-
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'">
34-
<PlatformTarget>x64</PlatformTarget>
12+
<PropertyGroup>
13+
<PlatformTarget>$(Platform)</PlatformTarget>
3514
</PropertyGroup>
36-
3715
<ItemGroup>
3816
<PackageReference Include="AppInsights.WindowsDesktop" Version="2.10.55" />
3917
<PackageReference Include="Nerdbank.GitVersioning" Version="3.0.50" PrivateAssets="all" />

0 commit comments

Comments
 (0)