I have a problem using the Views in MVC. I created a new project with the MVC template, created a local db and installed umbraco. Now when i want to access the view i just created in umbraco, this happen. I'm not sure what to do from here...My Umbraco version is v7.12.4. Also the view is inheriting from Umbraco.Web.Mvc.UmbracoTemplatePage I get the same warning there
It's best practice to install Umbraco into an empty website project instead of an MVC templated website project.
You probably have a referencing issue where your template was set up to work with a newer version of MVC than Umbraco works with. If you've not gone too far down the process it could be worth trying to start fresh with an empty project.
Assuming assembly reference
I have a problem using the Views in MVC. I created a new project with the MVC template, created a local db and installed umbraco. Now when i want to access the view i just created in umbraco, this happen. I'm not sure what to do from here...My Umbraco version is v7.12.4. Also the view is inheriting from Umbraco.Web.Mvc.UmbracoTemplatePage I get the same warning there
Hi Robin,
It's best practice to install Umbraco into an empty website project instead of an MVC templated website project.
You probably have a referencing issue where your template was set up to work with a newer version of MVC than Umbraco works with. If you've not gone too far down the process it could be worth trying to start fresh with an empty project.
Nik
Yes that seem to be the problem. I did exactly as you said and it worked perfectly with an empty MVC project. Thanks!
is working on a reply...