I'am experimenting with Eto.Forms in VS for Mac. When I build, I receive the following errors:
System.Reflection.TargetInvocationException
and
Could not load file or assembly 'Xamarin.Mac, Version=0.0.0.0, Culture=neutral, PublicKeyToken=84e04ff9cfb79065' or one of its dependencies.
I assumed that this means I am missing a reference. However, Xamarin.Mac does not show up in the reference editor as well. Does anyone have an idea or any pointers for me?
The same solution works just fine when I run it in VS for Windows.
Added references are System, Eto and Eto.XamMac2 using the following code in Main:
[STAThread]
public static void Main(string[] args)
{
var platform = Eto.Platforms.XamMac2;
new Application(platform).Run(new MyForm());
}
Thanks