views:

259

answers:

1

Hi,

I have been using Visual Studio 2008 for the past 2 years or so. Recently, in 2 particular ASP.NET (with VB.NET) web sites I am forced to do a Rebuild Solution after any change, no matter how minor, even if it's just an HTML change.

In other words, I cannot load the application into the browser and make an HTML change and hit F5 as the change would not be reflected in the browser. Also, if I make a change in the code and try to run the project by clicking F5 the code change would not come into effect. I first have to rebuild, then hit F5, which obviously takes much more time.

Does anyone know why this may be happening? This does not happen with all of my projects but only with 2 in particular.

Thanks in advance, Tim

+2  A: 

Oh the joy of visual studio and web projects!

Things to try:

  • Clear the VSWebCache (this is usually at %USERPROFILE%\VSWebCache)
  • Clear Temporary ASP.NET Files (at %WINDIR% %WINDIR%\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files - make sure you keep the security if you delete this top level folder rather than the subfolders)
  • If you keep your machine on all the time (never a good plan for a development machine), then run iisreset
David Kemp
Hi David,Thanks for your reply. I have already cleared by Temporary ASP.NET files and I switch off my machine every day. However, I cannot find the "VSWebCache" folder under the %USERPROFILE% folder...and this seems to be the last thing to try apparently...Thanks
TMM