New .NET feature bundle and minification {version} wildcard isn't working
I am trying to use bundling with the {version} wildcard. The bundles that contain {version} do not show in my rendered page's source code. Is this feature limited to .Net 4.5? I am only able to work with .Net 4.0 because of some infrastructure issues.
**UPDATE
My BundleConfig.cs file:
bundles.Add(new ScriptBundle("~/bundles/jquery").Include(
"~/Scripts/jquery-{version}.js"));
bundles.Add(new ScriptBundle("~/bundles/jqueryui").Include(
"~/Scripts/jquery-ui-1.10.*"));
The first bundle does not work the second bundle works correctly.
The jquery file path is /Scripts/jquery-1.9.1.js and /Scripts/jquery-1.9.1.min.js Both files exist and if I use "*" the appropriate jquery file is brought in.
通过NuGet卸载并重新加载Web优化包。
链接地址: http://www.djcxy.com/p/69118.html