Link to home
Start Free TrialLog in
Avatar of karthik80c
karthik80cFlag for United States of America

asked on

Why Bundles is not working on certain files - ASP MVC

Hi Experts,

I added a bunch of css previously and its working fine  in bundles config file . But last time added some more css and am not able to get the css . It throws no error and my site is loading without those css.


 bundles.Add(new StyleBundle("~/css/Home").Include(
                "~/css/grid12.css",
                "~/css/james_typography.css",
                "~/css/main.css",
                "~/css/color_scheme_light.css",
                "~/css/colors/color_palette_blue.css",
                "~/css/rapid-icons.css",
                "~/css/js_styles/jquery.maximage.min.css",
                "~/css/responsivity.css",
                "~/css/animate.css",
                "~/css/nivo-lightbox.css",
                "~/css/nivo_lightbox_themes/default/default.css",
                "~/css/owl.carousel.css",
                "~/css/owl.theme.css",
                "~/css/owl.transitions.css"
                ));

Open in new window









Thanks in Advance Experts
ASKER CERTIFIED SOLUTION
Avatar of SSupreme
SSupreme
Flag of Belarus image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of karthik80c

ASKER

Why we don't have  home.css in directory . Is there any reason on this
Because it creates virtual file, and if there is a file with same name it could break execution. You can give it any name as long as it doesn't exist in that folder.