I'm using Visual Studio 2022 to create the MAUI Blazor Hybrid application, Visual Studio crashed (Automatically Closed) while publishing the MAUI Blazor Hybrid application to the Windows platform.
The below steps are followed to publish
Why is Visual Studio 2022 closed while publishing the MAUI Blazor Hybrid application to Windows platform? Do I need to add any configuration to the project file with the respective Windows platform publishing?
I have created the empty MAUI Blazor Hybrid application and checked it. There I'm able to publish the application. So I compared the .csproj
file of both projects. In my application, the <WindowsPackageType>None</WindowsPackageType>
line is there, so I removed this line. Now I'm able to publish.