VS2013 does not compile ASP.NET MVC5 views

前端 未结 2 1605
执念已碎
执念已碎 2020-12-03 03:10

My Visual Studio Ultimate 2013 Update 4 does not compile ASP.NET MVC 5 views.

Compilation errors are spotted on views sporadically, although compilation is always su

2条回答
  •  借酒劲吻你
    2020-12-03 03:57

    Does your project include the target and hook into after build event? Try msbuild WebApplication1.csproj /t:MvcBuildViews from command line, it'll check that you have both default property set and target defined.

    
        true
    
    
    
        
    
    

    Try creating a blank MVC project from within the VS2013U4 and compare the csproj to yours.

提交回复
热议问题