.NET 7 MAUI Blazor MacCatalyst App Builds but Fails to Execute

Kenney Myers 5 Reputation points
2023-01-18T16:27:32.8966667+00:00

Everything is current (brand new install of Visual Studio, etc). I can build and run the app on Windows and I can build successfully on Mac but when it goes to launch whether it is debug or release it simply says "Execution failed." Which honestly, is not super helpful. Has anyone else seen this and have some magic pixie dust to sprinkle on this one? If I build the template .NET 7 MAUI Blazor app it does build an run on my Mac so I think I have everything set up correctly.

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
2,844 questions
{count} vote

2 answers

Sort by: Most helpful
  1. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

  2. Serge S 0 Reputation points
    2023-08-05T08:15:41.2766667+00:00

    I was able to resolve the problem by changing the csproj file like that:

    User's image

    0 comments No comments