We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 063c673 commit 8347429Copy full SHA for 8347429
1 file changed
.github/workflows/release.yml
@@ -93,13 +93,16 @@ jobs:
93
Copy-Item $apk.FullName "dist/ServerRemote.App-android-${{ steps.ver.outputs.version }}.apk"
94
95
# --- ServerRemote.App : Windows (unpackaged, self-contained) ---
96
+ # MAUI/WinUI must use RuntimeIdentifierOverride instead of -r; passing
97
+ # -r win-x64 makes the build resolve a non-existent Mono runtime pack
98
+ # (Microsoft.NETCore.App.Runtime.Mono.win-x64) and fail to restore.
99
- name: Publish App (Windows)
100
shell: pwsh
101
run: >
102
dotnet publish src/ServerRemote.App
103
-f net10.0-windows10.0.19041.0
104
-c Release
- -r ${{ env.WIN_RID }}
105
+ -p:RuntimeIdentifierOverride=win10-x64
106
--self-contained
107
-p:WindowsPackageType=None
108
-o publish/app-windows
0 commit comments