Hi I am trying to bundle my scripts for my application. My debug is working and if I publish with the Web.debug every thing works fine. But when I publish with the Web.releas my
In my case, the virtual path of my bundle contains the .
character. Something like :
bundles.Add(new ScriptBundle("~/bundles/jquery.loadTemplate").Include(
"~/Scripts/jquery.loadTemplate/*.js");
I changed the dots by hyphens :
bundles.Add(new ScriptBundle("~/bundles/jquery-loadTemplate").Include(
"~/Scripts/jquery-loadTemplate/*.js");
And everything works like a charm.
I'm still not sure why it worked on my local machine but not on Azure...