ASP.NET MVC Beta - IE 7 browser not refreshed to CSS/Javascript changes in VS 2008 SP1
I think this might be useful to developers. I suspect this as a bug, hopefully it can be resolve soon. I can't find anyone talking about this on the internet. Maybe someone already posted this in the Microsoft Forum.If not, you can refer it here.
I was testing on ASP.NET MVC Beta on top of my Visual Studio 2008 SP1 earlier today until I spoted this issue. When I created a new ASP.NET MVC Application template, everything worked simply just fine. I could modify the existing Site.css and changed the body background-color to something else. It simply worked.
Now comes to the issue. When I started creating/modifying existing files within the generated template, my CSS/JavaScript would not work properly when I tried to do these as below:
a. Debug in IE 7 when pressing F5 in Visual Studio 2008 SP1
b. View in Browser on default.aspx
c. Browse with IE 7 (default)
** As for point c, it worked with FireFox 3.
I tried to change the background-color from
background-color: #5c87b2;
to
background-color: #FFFFFF; OR background-color: Orange;
It would only show the same original blue color. I had also added in JQuery for better UI navigations and it couldn't work. At first, I thought it could be the path issue for both JavaScript and CSS references in Site.master file. But it was not the cause.
When I tried to debug, it gave me this URL http://localhost:4944/. Then I made a wild guess, probably there could be a bug in Visual Studio 2008 for ASP.NET MVC Beta. So I copied that url and tested on a separate instance of IE. Now it works. It works in FireFox3 and other browsers too.
I am not sure whether this is a bug or anyone realizing it. I will ping Microsoft regarding this issue. Thanks.