diff --git a/.github/workflows/dotnet.yml b/.github/workflows/dotnet.yml
index e9f595c..1f99bae 100644
--- a/.github/workflows/dotnet.yml
+++ b/.github/workflows/dotnet.yml
@@ -20,12 +20,10 @@ jobs:
uses: actions/checkout@v4
- name: Setup .NET
- uses: actions/setup-dotnet@v3
- with:
- dotnet-version: '8.0.x'
+ uses: actions/setup-dotnet@v4
- name: Setup MSBuild
- uses: microsoft/setup-msbuild@v1
+ uses: microsoft/setup-msbuild@v2
- name: Setup NuGet
uses: nuget/setup-nuget@v2
@@ -40,11 +38,14 @@ jobs:
echo "BUILD_CONFIG=Release" | Out-File -FilePath $env:GITHUB_ENV -Append
}
- - name: Restore Dependencies
+ - name: Restore Nuget
run: nuget restore ReswPlus.sln
+ - name: DotNet Restore
+ run: dotnet restore ReswPlus.sln
+
- name: Build Solution
- run: msbuild ReswPlus.sln /p:Configuration=${{ env.BUILD_CONFIG }} /p:Platform="Any CPU" /p:RuntimeIdentifierOverride=win-x64
+ run: msbuild ReswPlus.sln /p:Configuration=${{ env.BUILD_CONFIG }} /p:Platform=x64 /p:PublishReadyToRun=false
- name: Run Unit Tests
run: dotnet test tests/ReswPlusUnitTests/ReswPlusUnitTests.csproj --configuration ${{ env.BUILD_CONFIG }} --no-build --verbosity normal
diff --git a/samples/WinAppSDK/ReswPlusWinAppSDKSample/ReswPlusWinAppSDKSample.csproj b/samples/WinAppSDK/ReswPlusWinAppSDKSample/ReswPlusWinAppSDKSample.csproj
index e40f4b6..4528287 100644
--- a/samples/WinAppSDK/ReswPlusWinAppSDKSample/ReswPlusWinAppSDKSample.csproj
+++ b/samples/WinAppSDK/ReswPlusWinAppSDKSample/ReswPlusWinAppSDKSample.csproj
@@ -7,7 +7,6 @@
ReswPlusWinAppSDKSample
app.manifest
x86;x64;ARM64
- win-x86;win-x64;win-arm64
win-$(Platform).pubxml
true
true
@@ -23,10 +22,9 @@
Always
x86|x64|arm64
0
+ win-x86;win-x64;win-arm64
-
- $(RuntimeIdentifierOverride)
-
+
@@ -41,14 +39,10 @@
-
+
{44d125b3-6c8a-4f2f-a76f-bffb2ad7e70d}
@@ -56,12 +50,14 @@
+
True
\
+
Designer
@@ -95,12 +91,7 @@
-
true
-
\ No newline at end of file
+