Nevron MVC example will not execute
Print Topic | Close Window

By Mike O'Ceirin - Last Year
I have tried to run this to no avail. The problem is a number of the references are missing. I have tried to add them but it is ignored. Is there any way to get it to run. I can create a new MVC 5 solution without problems but the example refuses to run. For instance the library System.Web.Razor is in error. But if I create a new solution it is referenced correctly. I thought I could fix this but adding it again does not work.
By Nevron Support - Last Year
Hi Mike,

We just tested the MVC examples and they compiled OK with VS2017/VS2019 - what is the version of VS you're currently using? Also, can you send the project you're trying to compile to for review? Thank you.
By Mike O'Ceirin - Last Year
I copied your code that was installed with the Nevron software.
That is C:\Program Files (x86)\Nevron Software\Nevron .NET Vision 2019.1 for VS2019\Examples\Chart\Mvc
I chose the solution Nevron.Examples.Chart.Mvc.VS2017.sln since it was the most recent version in the example.
I am running visual studio 2019 community edition. The first problem I have overcome that was four corrupted references.
I found I had to delete them and re-establish the references but on running the application another error occurred.
GlobalFilterCollection was undefined in FilterConfig.cs
the reason for this was the reference to System.Web.Mvc was missing and on adding that reference the code would compile but a further error occurred and it would not run.
Parser Error Message: Could not load file or assembly 'System.Web.Mvc, Version=, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest
definition does not match the assembly reference. (Exception from HRESULT: 0x80131040). So I have the incorrect file referenced. Currently I have an application and I wish to change to MVC.

By Nevron Support - Last Year
Hi Mike,
It looks like the examples use an older version of MVC - we'll update them to a more recent version of MVC in the upcoming version. We'll upload them to this post (hopefully in the next couple of days). We'll keep you posted.
By Mike O'Ceirin - Last Year
I will look forward to it thanks.