ho incluso la seguente riga nel file BundleConfig.cs
:ASP.NET MVC script non Bundle reso
bundles.Add(new ScriptBundle("~/bundles/jqueryajax").Include(
"~/Scripts/jquery.unobtrusive-ajax.min.js"));
Tuttavia quando provo a renderlo tra gli altri script, è saltato.
Ecco come io rendo gli script:
@Scripts.Render(
"~/bundles/jquery",
"~/bundles/jqueryui",
"~/bundles/jqueryajax",
"~/bundles/jquerytree")
Questo è l'output HTML, il jqueryajax fascio viene omesso:
<script src="/Scripts/jquery-1.9.1.js"></script>
<script src="/Scripts/jquery-ui-1.10.2.js"></script>
<script src="/Scripts/jquery.jstree.js"></script>
possibile duplicato (http [file di script Bundle non essere reso.]: // StackOverflow .com/questions/14365673/bundle-script-file-not-being-rendered) –