所以突然我的asp mvc 4包停止工作:(
我被取消作为捆绑 URL 的 http 状态。
任何想法我下一步做什么?我在 _layout 中使用与工作时相同的虚拟路径
@Styles.Render("~/foundation/stylesheets")
@Scripts.Render("~/foundation/javascripts")
public class BundleConfig
{
public static void RegisterBundles(BundleCollection bundles)
{
//JQUERY STUFF
bundles.Add(new ScriptBundle("~/bundles/jquery").Include(
"~/Scripts/jquery-1.*"));
bundles.Add(new ScriptBundle("~/bundles/jqueryplugins").Include(
"~/Scripts/plugins/jquery.placeholder.js"));
bundles.Add(new ScriptBundle("~/bundles/jqueryui").Include(
"~/Scripts/jquery-ui*"));
bundles.Add(new ScriptBundle("~/bundles/jqueryval").Include(
"~/Scripts/jquery.unobtrusive*",
"~/Scripts/jquery.validate*"));
bundles.Add(new StyleBundle("~/Content/themes/base/css").Include(
"~/Content/themes/base/jquery.ui.core.css",
"~/Content/themes/base/jquery.ui.resizable.css",
"~/Content/themes/base/jquery.ui.selectable.css",
"~/Content/themes/base/jquery.ui.accordion.css",
"~/Content/themes/base/jquery.ui.autocomplete.css",
"~/Content/themes/base/jquery.ui.button.css",
"~/Content/themes/base/jquery.ui.dialog.css",
"~/Content/themes/base/jquery.ui.slider.css",
"~/Content/themes/base/jquery.ui.tabs.css",
"~/Content/themes/base/jquery.ui.datepicker.css",
"~/Content/themes/base/jquery.ui.progressbar.css",
"~/Content/themes/base/jquery.ui.theme.css"));
//FOUNDATION STUFF
bundles.Add(new ScriptBundle("~/foundation/javascripts").Include(
"~/foundation/javascripts/app.js",
"~/foundation/javascripts/foundation.min.js",
"~/foundation/javascripts/modernizr.foundation.js"));
bundles.Add(new StyleBundle("~/foundation/stylesheets").Include(
"~/foundation/stylesheets/app.css",
"~/foundation/stylesheets/foundation*"));
}
}