When I try to open .cshtml files in Visual Studio 2013 I get this error:
Object reference not set to an instance of an object
I have tried the solution given here but it did not work.
Here is my appsettings section in the web.config
:
<appSettings>
<add key="Port" value="25" />
<add key="webpages:Version" value="3.0.0.0" />
<add key="webpages:Enabled" value="false" />
<add key="ClientValidationEnabled" value="true" />
<add key="UnobtrusiveJavaScriptEnabled" value="true" />
</appSettings>
i do not think that the problem is about this particular project, because all my other MVC projects have same problem.