This project has moved and is read-only. For the latest updates, please go here.

One file in a bundle is replaced with another

Feb 2, 2014 at 9:59 AM

I have a bundle of several JS files:
var librariesBundle = new JsBundle("~/bundles/js/libraries/");
librariesBundle.IncludeDirectory("~/scripts/libraries/", "*.js");
librariesBundle.IncludeDirectory("~/scripts/kendo/cultures/", "*.js");
librariesBundle.IncludeDirectory("~/scripts/kendo/widgets/", "*.js");
Everyting works great, but in production the "~/scripts/kendo/kendo.all.js" file is sometimes replaced by "~/scripts/modules/worksheets.js". I don't understand why.

Can you help me?

Feb 2, 2014 at 10:25 AM
Hello, Dusan!

What is the JsBundle class?
Feb 2, 2014 at 10:44 AM
First of all, start with the check of "~/scripts/kendo/kendo.all.js" file on disk.
Feb 2, 2014 at 10:52 AM
JsBundle is exactly the same like CustomScriptBundle. The content of "kendo.all.js" was never changed.
Feb 2, 2014 at 11:02 AM
If you use JsBundle instead of CustomScriptBundle, then solve this problem independently.
Feb 2, 2014 at 11:15 AM
Ok, let's pretend I use CustomScriptBundle. Will it make any difference?
Feb 2, 2014 at 11:21 AM
Let's pretend you solve this problem by yourself.

Discussion is closed.
Feb 2, 2014 at 11:23 AM
Oh, that's ridiculous...