Led Machine
Led Machine

Reputation: 7552

Why I get this error when I try to open my Xamarin.Mac project "MonoDevelop.MonoMac.XamMac2ProjectFlavor"?

When I try to open my Xamarin.Mac project I receive this error, any ideas?

Error while trying to load the project '/Users/eduardo/Desktop/MyProject/MyProject.MacOs/MyProject.MacOs.csproj': The type initializer for 'MonoDevelop.MonoMac.XamMac2ProjectFlavor' threw an exception.

Upvotes: 4

Views: 988

Answers (1)

Led Machine
Led Machine

Reputation: 7552

I just released that I need to have installed Xamarin.Mac with Visual Studio enter image description here

  • Open your Visual Studio for Mac Installer
  • Make sure that the macOs (Cocoa) option is checked

Upvotes: 11

Related Questions