File tree Expand file tree Collapse file tree 2 files changed +4
-7
lines changed
samples/WinAppSDK/ReswPlusWinAppSDKSample Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -38,11 +38,11 @@ jobs:
38
38
echo "BUILD_CONFIG=Release" | Out-File -FilePath $env:GITHUB_ENV -Append
39
39
}
40
40
41
- - name : Restore Dependencies
42
- run : nuget restore ReswPlus.sln
43
-
41
+ - name : Restore Dependencies with Runtime Identifier
42
+ run : dotnet restore ReswPlus.sln /p:PublishReadyToRun=true
43
+
44
44
- name : Build Solution
45
- run : msbuild ReswPlus.sln /p:Configuration=${{ env.BUILD_CONFIG }} /p:Platform="Any CPU" /p:RuntimeIdentifierOverride=win-x64
45
+ run : msbuild ReswPlus.sln /p:Configuration=${{ env.BUILD_CONFIG }} /p:Platform="Any CPU"
46
46
47
47
- name : Run Unit Tests
48
48
run : dotnet test tests/ReswPlusUnitTests/ReswPlusUnitTests.csproj --configuration ${{ env.BUILD_CONFIG }} --no-build --verbosity normal
Original file line number Diff line number Diff line change 24
24
<AppxBundlePlatforms >x86|x64|arm64</AppxBundlePlatforms >
25
25
<HoursBetweenUpdateChecks >0</HoursBetweenUpdateChecks >
26
26
</PropertyGroup >
27
- <PropertyGroup Condition =" '$(RuntimeIdentifierOverride)' != ''" >
28
- <RuntimeIdentifier >$(RuntimeIdentifierOverride)</RuntimeIdentifier >
29
- </PropertyGroup >
30
27
<ItemGroup >
31
28
<Content Include =" Assets\SplashScreen.scale-200.png" />
32
29
<Content Include =" Assets\Square150x150Logo.scale-200.png" />
You can’t perform that action at this time.
0 commit comments