ASP.NET MVC 3 Beta 的新项目不包括不显眼的验证 Javascript 文件
我今天的问题相当简单,但它让我发疯!
我刚刚下载并安装了 ASP.NET MVC 3 Beta 并使用 VS 2010 创建了一个新项目。但是当我检查脚本文件夹时,那里没有以下文件! (根据我的理解,他们应该在那里):
· /Scripts/jquery.unobtrusive-ajax.js
· /Scripts/jquery.unobtrusive-ajax.min.js
· /Scripts/jquery.validate.unobtrusive.js
· /Scripts/jquery.validate.unobtrusive.min.js
任何人都可以告诉我发生了什么事吗?
谢谢
My problem today is rather simple, but its driving me nuts!
I just downloaded and installed the ASP.NET MVC 3 Beta and created a new project using VS 2010. But when I check the scripts folder, there are none of the following files there! (from what I understood, they should be there):
· /Scripts/jquery.unobtrusive-ajax.js
· /Scripts/jquery.unobtrusive-ajax.min.js
· /Scripts/jquery.validate.unobtrusive.js
· /Scripts/jquery.validate.unobtrusive.min.js
Anyone could tell me what is going on?
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
MVC 3 模板应包含这些文件。一些建议:
devenv.exe /InstallVsTemplates
。该命令重新创建 VS 的项目模板缓存。如果这些不起作用,请告诉我。
The MVC 3 templates should include those files. A couple of suggestions:
devenv.exe /InstallVsTemplates
from a Visual Studio command prompt. This command recreates VS's project template cache.Let me know if these don't work.