ASP.NET MVC Bundle not rendering script files on staging server. It works on development server

前端 未结 8 1608
感动是毒
感动是毒 2020-11-28 05:48

In our ASP.NET MVC 4 web application, our BundleConfig.cs includes the following:

bundles.Add(new ScriptBundle(\"~/bundles/jquery\").Include(
                        


        
8条回答
  •  执念已碎
    2020-11-28 06:42

    By adding following code of line in bundle to config it works for me

    bundles.IgnoreList.Clear();  
    

    Follow the link for more explanation

提交回复
热议问题