andrewdavey/cassette — Issue #189: FileNotFound Issue
Author: rojorojo
Created: 2012-02-23 19:33:55+00:00
State: open

According to the documentation this is the correct way to handle bundling multiple files:

var jFiles = new[] {
"Scripts/jquery-1.6.2.min.js",
"Scripts/jquery.reveal.js",
"Scripts/modernizr.custom.91789.js",
"Scripts/jquery.validate.js"
};
bundles.Add("scripts", jFiles);

This works work stylesheets but results in a FileNotFound error for scripts. However, adding the ~/ seems to work like so...

var jFiles = new[] {
"~/Scripts/jquery-1.6.2.min.js",
"~/Scripts/jquery.reveal.js",
"~/Scripts/modernizr.custom.91789.js",
"~/Scripts/jquery.validate.js"
};
bundles.Add("scripts", jFiles);