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.
Stack Overflow Post
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
.csprojto includewin-x64; win-x86; win-arm64in<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.
Stack Overflow Post
Stack Overflow
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...
I am working on a .NET MAUI application and encountering issues during the publish build process. I am trying to side-load the applicatio...