I had a problem adding a binding to an existing project. The problem is the output path when rendering to the page. I include subdirectory directories that browse them looking for * .js as follows:
BundleTable.Bundles.Add(
new ScriptBundle("~/ui/js")
.IncludeDirectory("~/ui/lib/", "*.js", true)
.IncludeDirectory("~/ui/class/", "*.js", true)
.IncludeDirectory("~/ui/modules/", "*.js", true)
);
So, for example, under / ui / lib / I have subfolders for libraries, but what is displayed in the browser is src = "/ui/lib/file.js", when it should be / ui / lib / folder / file.js
I'm not sure where I am going wrong, I have a project that uses the same code as above, but works great for displaying the correct file paths.
This may be related, but when I switch to release mode and everything turns out concat / minified, the dynamic path also displays a 404 page.
Thank you for your help / ideas.