File tree Expand file tree Collapse file tree 2 files changed +3
-6
lines changed
samples/WinAppSDK/ReswPlusWinAppSDKSample Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -38,11 +38,11 @@ jobs:
3838 echo "BUILD_CONFIG=Release" | Out-File -FilePath $env:GITHUB_ENV -Append
3939 }
4040
41- - name : Restore Dependencies
42- run : nuget restore ReswPlus.sln
41+ - name : Restore Dependencies with Runtime Identifier
42+ run : dotnet restore ReswPlus.sln /p:PublishReadyToRun=true /p:RuntimeIdentifier=win-x64
4343
4444 - 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" /p:RuntimeIdentifier =win-x64
4646
4747 - name : Run Unit Tests
4848 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 2424 <AppxBundlePlatforms >x86|x64|arm64</AppxBundlePlatforms >
2525 <HoursBetweenUpdateChecks >0</HoursBetweenUpdateChecks >
2626 </PropertyGroup >
27- <PropertyGroup Condition =" '$(RuntimeIdentifierOverride)' != ''" >
28- <RuntimeIdentifier >$(RuntimeIdentifierOverride)</RuntimeIdentifier >
29- </PropertyGroup >
3027 <ItemGroup >
3128 <Content Include =" Assets\SplashScreen.scale-200.png" />
3229 <Content Include =" Assets\Square150x150Logo.scale-200.png" />
You can’t perform that action at this time.
0 commit comments