i am using BundleConfig to bundle my css and javascript files in mvc 4.0 project. just started using it, but somehow my bundled css file get 404 status from the server. wonder what is the problem.
Here is my setting;
public class BundleConfig
{
public static void RegisterBundles(BundleCollection bundles)
{
bundles.Add(new ScriptBundle("~/CSSJSBundles/3rdpartycss").Include(
"~/Scripts/jquery.jnotify.css"
)); }
BundleTable.EnableOptimizations = true;
}
I have created that folder: 'CSSJSBundles' in my root. Do i need to? or it is just virtual folder mvc uses? Also do i need to put any settings in Global.aspx?
I also deleted the folder, still there is 404 error for that bundled css file.