asp.net mvc - Visual Studio 2012 can't resolve namespace even though DLL reference seems fine -
I have tried to create an MVC 5 project by building MVC 4 project in a studio 2012 and installing MVC 5 through NJet.
I can fix this.
I have another DLL, Sitkor. Attempt to add context to MVCDLL, which I can see, was made against MVC 5.1.0. The DLL reference is added correctly, and it seems that there is no .NET framework conflict (which is where I have seen this problem in the past).
I have a user statement using my code: -
Sitecore.Mvc.Presentation;
IntelliSense raises it up okay ... even allowing me to complete the 'presentation'.
However, when I create it, I get the following error: -
Type or name space name 'Sitkor' could not be found (Do you remember the usage director or assembly reference? - Visual Studio 2012 - What's the problem? Update 4
- MVC 4 web application (initially)
- MVC 5.1.0 newsletter package
- Sitcom 7.2 - Update 2 (from where Sitecore.Mvc.DLL )
- On my machine .NET 4.5.2 installed.
Comments
Post a Comment