Quantcast
Channel: AjaxControlToolkit Work Item Rss Feed
Viewing all articles
Browse latest Browse all 4356

Commented Unassigned: Bundling does not seem to work after publishing with Visual Studio in v15.1 [27817]

$
0
0
I have an application that I've just updated to use v15.1 of the Ajax Contol Toolkit. I've also used the instructions on this page to configure bundling and everything looks good on my local machine.

https://ajaxcontroltoolkit.codeplex.com/wikipage?title=How%20to%20use%20bundling%20and%20CDN

If I inspect the source I can see a single script tag with src=/Scripts/AjaxControlToolkit/Bundle?v=<hash>.

However, after I publish the website through Visual Studio and upload the site to my live server, bundling doesnt seem to work anymore. Instead I see all the individual resources such as

<script src="Scripts/AjaxControlToolkit/Bundle" type="text/javascript"></script>
<script src="Scripts/AjaxControlToolkit/Release/Localization.Resources.js" type="text/javascript"></script>
<script src="Scripts/AjaxControlToolkit/Release/ComponentSet.js" type="text/javascript"></script>
<script src="Scripts/AjaxControlToolkit/Release/Common.js" type="text/javascript"></script>
<script src="Scripts/AjaxControlToolkit/Release/Compat.Timer.js" type="text/javascript"></script>
<script src="Scripts/AjaxControlToolkit/Release/AnimationScripts.js" type="text/javascript"></script>
<script src="Scripts/AjaxControlToolkit/Release/BaseScripts.js" type="text/javascript"></script>

I've had a look around the net and various forums but I can't see anyone else having a similar problem. Any help would be greatly appreciated. Everything works, I'm just a bit funny about these things.

Comments: So after 2 days of trying everything under the sun, turns out the problem was because the new Web Optimisation tools seem to run under .Net v4.5. Unfortunately the server didn't have v4.5 installed, so I installed it and now the bundles are created as expected.

Viewing all articles
Browse latest Browse all 4356

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>