Nevron Forum

error on adding NNavigation control

https://www.nevron.com/Forum/Topic3724.aspx

By Rudi Groenewald - Saturday, June 19, 2010

Hi all,

on adding the NNavigation control to a form, I get the following error:

code generation for property 'TextRenderMode' failed. Error was: 'Type 'Nevron.UI.TextRenderMode' is not available in the target framework.'

Target framework is .net 4

Using VS 2010.

Nevron controls VS2010 1

This is a fresh install of windows / vs / nevron, no previous versions exist.


Any ideas?
By Nevron Support - Saturday, June 19, 2010

Hi Rudi,

 

Please make sure that the targeted framework is .NET 4.0 and not .NET 4.0 Client Profile. In the Solution Explorer, right click on your WindowsFormsApplication and select Properties. Then change the target framework to .NET Framework 4.

 

Also, make sure to add reference to the following assemblies:

Nevron.Presentation.dll

Nevron.System.dll

 

Hopefully this helps.

By Rudi Groenewald - Saturday, June 19, 2010

Thanks that worked great