İsmet Alkan
İsmet Alkan

Reputation: 5447

ASP.NET Site.css doesn't change

I opened a new ASP.NET MVC project and ran it. Afterwards, I changed some lines in Site.css. However, when I run the project again and located the element in browser, I realized that style information is the same before I changed it. Stopped and re-run, but no luck at that too.

Than I opened a new project and made my changes before running the project and it worked. Now I need another change in Site.css, but i can't make it changed either. Any ideas what am I doing wrong here?

Upvotes: 6

Views: 3547

Answers (2)

Siva Charan
Siva Charan

Reputation: 18064

Update: To add to @cocre8or's answer: On your project you seem to be caching. To invalidate the cache you might have a configuration value. Just change the value to get the latest CSS on the site.

Upvotes: 2

Rayshawn
Rayshawn

Reputation: 2617

The css is probably cached. You need to refresh the browser. Ctrl+ F5

Upvotes: 12

Related Questions