Issue with .NET MAUI App Publishing in Visual Studio & JetBrains Rider
Issue with .NET MAUI App Publishing in Visual Studio & JetBrains Rider
I'm facing difficulties publishing a .NET MAUI app using the GUIs in Visual Studio 2022 and JetBrains Rider 2023.3. The issue seems to be with Runtime Identifier (RID) mismatches. While the CLI commands work fine, the GUIs in both IDEs fail to produce a published build.
What I've Done:
- Checked and ensured correct target frameworks for .NET MAUI.
- Edited
.csproj
to include win-x64; win-x86; win-arm64
in <RuntimeIdentifiers>
.
- Published successfully using CLI with -r win-x64
, -r win-x86
, and -r win-arm64
.
- Updated SDK, tools, and NuGet packages.
- Cleaned and rebuilt the project; installed MAUI workload.
- Consulted relevant documentation for RID and publishing specifics.
Despite these steps, the GUI-based publishing remains unsuccessful. Any insights or solutions for enabling GUI-based publishing in these IDEs would be greatly appreciated.
Stack Overflow PostStack Overflow
.NET 8 Visual Studio/Rider Issue with .NET MAUI Publish Windows Bui...
Issue with .NET MAUI Publish Windows Build - RID Mismatches
I am working on a .NET MAUI application and encountering issues during the publish build process. I am trying to side-load the applicatio...
0 Replies