[RESOLVED]Help bundles on MVC5

i just start use mvc5. And i want dont use bootstrap default. But it have error when i change content bootstrap. I have try bind in BundleConfig.cs but it fail and appear error:

error image

There is my bundles

bundles.Add(new StyleBundle("~/Content/css").Include(
                   "~/Content/site.css"
                  ));
        bundles.Add(new StyleBundle("~/Content/dist/Edit/css").Include(
            "~/Content/dist/Edit/bootstrap.css"
            ));

Thanks for read.

In the Image, you have passed two url of contents into the @Scripts.Render.

Once you have included more than one contents into a bundle means that is bound to thatbundle. So you use only the bundle name, not each content that you have included.

Thanks.

Thanks. 

I have find  error in 

BundleTable.EnableOptimizations = true;

Change value to FALSE, it wil work.

Thanks.

Leave a Reply