Я только что запустил mvc4 и на _layout вижу 2 новых элемента
<link href="@System.Web.Optimization.BundleTable.Bundles.ResolveBundleUrl("~/Content/css")" rel="stylesheet" type="text/css" />
<script src="@System.Web.Optimization.BundleTable.Bundles.ResolveBundleUrl("~/Scripts/js")"></script>
Поскольку я читал, что эти пакеты используются для загрузки всего вместе, что экономит время, я часто использую jquery, поэтому я изменил свой _layout, чтобы заголовок теперь выглядел так
<link href="@System.Web.Optimization.BundleTable.Bundles.ResolveBundleUrl("~/Content/css")" rel="stylesheet" type="text/css" />
<script src="@System.Web.Optimization.BundleTable.Bundles.ResolveBundleUrl("~/Scripts/js")"></script>
<script src="@Url.Content("~/Scripts/jquery-1.8.2.min.js")" type="text/javascript">
to allow Jquery, this defeats the purpose of the bundle so my question is how can I include that final jquery file inside the JS bundle ? I can't seem to find where those bundles would be, I looked inside Global.asax and was not there.