I create a new project / solution in VS2012 (Premium, Update 2) and select the ASP.NET MVC 4 Web Application template. The Site.css site created in the Content folder does not contain definitions for display-label , editor-label , editor-field , etc. But when I let VS2012 create a new View, it creates a view that uses these classes.
Is this normal behavior? Or is there something wrong with my VS2012 installation?
If I create a new ASP.NET MVC 3 Web Application , Site.css contains the definitions.
I believe the new project content comes from C:\Program Files (x86)\Microsoft Visual Studio 11.0\Common7\IDE\ProjectTemplates\CSharp\Web\1033\MvcWebApplicationProjectTemplatev4.1.cshtml\Content . The Site.css file in this folder on my computer is dated 2/19/2013 12:36 and has a size of 13.944 bytes. The difference on your computer?
I found this question that seems similar, but in this situation, the code from the MVC3 application was ported to MVC4. In my situation, I just create a new MVC4 application.
source share