I have been building an ASP.NET MVC 5 project for a few days, and mainly playing around with the CSS file. However, all of a sudden, the CSS file which is being use to display the HTML in a browser has reverted to an old version.
In BundleConfig.cs, I have:
bundles.Add(new StyleBundle("~/Content/css").Include("~/Content/site.css"));
And the ~/Content/site.css file has been incrementally updated over the last few days, with the changes being observed in the HTML when I run the program from Visual Studio.
But today, I noticed that the rendered HTML is suddently entirely different. When I View Source in Firefox, in the <head> tag it shows:
<link href="/Content/site.css" rel="stylesheet"/>
as would be expected. But if I click on the link to this CSS file from this source file, then it displays the contents from a very old CSS file from a few days ago. I have checked multiple times that the file at Content/site.css is indeed my new version, and not this old version. I have tried cleaning, rebuilding, restarting Visual Studio etc., but none of these make a difference.
This is very strange - any ideas on what I might to do try to figure out what's going on?
Thanks!