Skip to content

Commit e206f77

Browse files
committed
update
update
1 parent 3db1cc5 commit e206f77

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

.github/workflows/dotnet.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff 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
43-
41+
- name: Restore Dependencies with Runtime Identifier
42+
run: dotnet restore ReswPlus.sln /p:PublishReadyToRun=true
43+
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"
4646

4747
- name: Run Unit Tests
4848
run: dotnet test tests/ReswPlusUnitTests/ReswPlusUnitTests.csproj --configuration ${{ env.BUILD_CONFIG }} --no-build --verbosity normal

samples/WinAppSDK/ReswPlusWinAppSDKSample/ReswPlusWinAppSDKSample.csproj

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,6 @@
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" />

0 commit comments

Comments
 (0)