Getting Started instructions for MonoMac -> a few corrections


Author
Message
Karl Hulme
Karl Hulme
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
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
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search