ResolveBundleUrl not resolving all files?

a 夏天 提交于 2019-12-05 02:14:29

Someone else has already answered this question:

http://forums.asp.net/t/1776599.aspx/1?MVC+4+0+Bundling+Minification+not+working+

UPDATE:

Someone has expressed concern that a link may not be enough to answer the question. Although I still believe that someone who visits this page should read the linked thread, the short answer is to remove the BundleTable.Bundles.RegisterTemplateBundles() line from Application_Start() and replace it with BundleTable.Bundles.EnableDefaultBundles()

Note: EnableDefaultBundles was removed as of the 1.0.0 RTM version of Optmization, you can still get the equivalent functionality via setting up your own DynamicFolderBundles. But in general this is likely to cause issues (usually there are depedencies in files that are not captured when you bulk include *.js), so we moved to explicit bundle setup and away from EnableDefaultBundles.

For the best up to date docs/tutorials: Codeplex Documentation

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!