views:

7576

answers:

1

I have a problem where my ASP.NET controls are not able to be referenced from the code behind files.

I found this solution:

http://stackoverflow.com/questions/38670/asp-net-controls-cannot-be-referenced-in-code-behind-in-visual-studio-2008

But I cannot seem to find my Visual Studio Cache to clear it.

I am using Visual Studio 2005 on Windows Vista.

+10  A: 

The accepted answer gave two locations:

here C:\Documents and Settings\Administrator\Local Settings\Temp\VWDWebCache

and possibly

here C:\Documents and Settings\Administrator\Local Settings\Application Data\Microsoft\WebsiteCache

Did you try those??

Edited to add

On my vista machine, it's located here:

c:\Users\username\AppData\Local\Temp\VWDCache

And here:

c:\Users\username\AppData\Local\Microsoft\WebsiteCache

From your additional information (team edition) this comes from here:

Clear Client TFS Cache

Visual Studio and Team Explorer provide a caching mechanism which can get out of sync. If I have multiple instances of a single TFS which can be connected to from a single Visual Studio client, that client can become confused.

To solve it..

For Windows Vista delete contents of this folder

C:\Users{your account}\AppData\Local\Microsoft\Team Foundation\1.0\Cache

GregD
That worked in removing my cache. Thank you very much.
Brian G