I have a problem where my ASP.NET controls are not able to be referenced from the code behind files.
I found a solution in Stack Overflow question 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.
I experienced this today. The value in Config was the updated one but the application would return the older value, stop and starting the solution did nothing.
So I cleared the .Net Temp folder.
It shouldn't create bugs but to be safe close your solution down first. Clear the Temporary ASP.NET Files then load up your solution.
My issue was sorted.
The accepted answer gave two locations:
Did you try those?
Edited to add
On my Windows Vista machine, it's located in
and in
From your additional information (regarding team edition) this comes from Clear Client TFS Cache:
I had the same issue but when i deleted the cached items from Temp folder the build failed.
In order to make the build work again I had to close the project and reopen it.