开发者

Visual Studio Express 2010 css file stops working after I edited while debugging

开发者 https://www.devze.com 2023-03-16 03:59 出处:网络
I am using Visual studio express 2010.I downloaded it about 2 weeks ago.I have been building Asp Net WEB Site (Razor.) I have a rather simple class in a css file being referenced from a helper file th

I am using Visual studio express 2010. I downloaded it about 2 weeks ago. I have been building Asp Net WEB Site (Razor.) I have a rather simple class in a css file being referenced from a helper file that is called from a content page.

All the styles in the css files were working as planned. While using the debugger, I changed the colore value of the css class to what is shown bellow. Visual studio does not seem to see the change. I have gotten out of the debugger and tried to change it again. When I enter debug again, The original (prior to the change made while debugging) style开发者_运维问答s are shown. All other changes in the css file are being ignored as well. I have tried to use alt F5 to enter the debug to clear browser.

This is the class that I changed in the debugger:

.NavMainButtonSelected
{
    background-color:Red;
}


In the browser, try Control + F5. You can also set the browser to renew every single hit on the page (not a bad idea on a development machine).


Press Ctrl+F5 in the browser to force it to ignore its cache.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号