Profile Picture

Getting Started instructions for MonoMac -> a few corrections

Posted By Karl Hulme 9 Years Ago

Getting Started instructions for MonoMac -> a few corrections

Author
Message
Karl Hulme
General Posted 9 Years Ago
View Quick Profile
Forum Guru

Forum Guru (50 reputation)Forum Guru (50 reputation)Forum Guru (50 reputation)Forum Guru (50 reputation)Forum Guru (50 reputation)Forum Guru (50 reputation)Forum Guru (50 reputation)Forum Guru (50 reputation)Forum Guru (50 reputation)

Group: Forum Members
Last Active: 9 Years Ago
Posts: 6, Visits: 16
Hello,

While trialling NOV for Xamarin/Mac I encountered a few issues.  Hopefully this post will help someone else, or better yet, Nevron could just tweak the docs.

The page in question is here:  http://helpopenvision.nevron.com/  > Getting Started > Installing NOV for Mac

First, the method signature for NNovWidgetHost constructor has changed.  So replace
this.ContentView = new NNovWidgetHost<NLabel>(new NLabel("Hello World from Nevron Open Vision"));
with
this.ContentView = new NNovWidgetHost(new NLabel("Hello World from Nevron Open Vision")); 

Second, there's a typo in the name of the installer class in Main.cs.  So replace
NNovApplicationInstaller.Install(modules);
with
NNOVApplicationInstaller.Install(modules);

Finally, after you remove the Xamarin MonoMac.dll assembly reference you need to perform a 'Clean All'.  Otherwise you'll receive an error when the .nib file is built saying it doesn't recognise AppDelegate.  Infact, this is only necessary if you attempted a build without first swapping to the Nevron MonoMac.dll assembly.

kind regards
Karl


Threaded View



Similar Topics


Reading This Topic