MVC 4 @Scripts “does not exist”

后端 未结 24 1946
长发绾君心
长发绾君心 2020-12-12 11:20

I have just created an ASP.NET MVC 4 project and used Visual Studio 2012 RC to create a Controller and Razor Views for Index and Create Actions.

24条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-12 11:57

    I had this issue after I added an Area to a project that didn't have any. To get rid of it just copied the web.config withing root Views folder to the Views folder of the area and it started working.

提交回复
热议问题