MVC 4 @Scripts “does not exist”

后端 未结 24 2010
长发绾君心
长发绾君心 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 12:23

    One more for the pot - spent ages trying to work out the same problem - even though it was defined in the web.config for root and the root of Views. Turns out I'd mistakenly added it to the , and not element.

    Really easy to miss that!

提交回复
热议问题