using System.Web;
using System.Web.Optimization;
bundles.Add(new ScriptBundle("~/bundles/jquery").Include(
"~/Scripts/jquery-{version}.js"));
bundles.Add(new ScriptBundle("~/bundles/jqueryui").Include(
"~/Scripts/jquery-ui-{version}.js"));
bundles.Add(new ScriptBundle("~/bundles/jqueryval").Include(
"~/Scripts/jquery.unobtrusive*",
"~/Scripts/jquery.validate*"));
我收到错误消息:
Error 16 The type or namespace name 'ScriptBundle' could not be found (are you missing a using directive or an assembly reference?)
看起来像一些参考问题,但我无法弄清楚。请帮忙。什么可能导致此错误?