Wednesday, March 20, 2013

ScriptBundle paths

A ScriptBundle in BundleConfig.cs seems to need to end like so:

bundles.Add(new ScriptBundle("~/bundles/signalr").Include(
   "~/Scripts/jquery.signalR-1.0.1*"));

 
 

...with an ASTERISK or perhaps with {version}.js as I had trouble pointing one of these directly to a .min.js file. Whatever.

No comments:

Post a Comment