After running my code from Visual Studio in release mode and reviewing the bundled style sheet, I noticed that my updates to the CSS files are reflected in the bundle. However, upon publishing the website to either the server or my local machine, the changes in the style sheets do not appear. The bundled style sheet still shows the old version.
I have attempted an IIS reset, a clean build/rebuild, deleting all files from the IIS folder, and republishing but the issue persists.
It is worth mentioning that I am using LESS.
This is my current bundle configuration:
bundles.Add(new StyleBundle("~/bundles/requiredStyles").Include(
"~/Content/Style/Libs/bootstrap.min.css",
"~/Content/Style/Libs/font-awesome.min.css",
"~/Content/Style/Globals/application.css",
"/Content/Style/Libs/muliDropdown.css",
"~/Content/Style/Libs/smoothDivScroll.min.css",
"~/Content/Style/Libs/jasny-bootstrap.min.css"
));
To check the bundled CSS, I visit .
Although changes made in application.css reflect correctly when running from Visual Studio (in release mode), they disappear once the site is published to my local IIS server.