We do development almost primarily with WinForms but have a small handful of web applications so developers have to install the Web Deployment add-on. Our problem is that developers are accumulating massive numbers of directories and files (24,000+ directories in one case) in the %userroot%\Local Settings\ApplicationData\Microsoft\WebSiteCache directory. Our solutions tend to have upward of 150-200 projects so this is a real problem. We are also seeing the following unnecessary lines (for windows apps!) in our .sln files that seem to be causing the issue:
ProjectSection(WebsiteProperties) = preProject
Debug.AspNetCompiler.Debug = "True"
Release.AspNetCompiler.Debug = "False"
Constantly deleting these lines from our .sln files or sweeping our WebSiteCache folder is not an acceptable solution to make our machines and Visual Studio 2005 performance faster. It was really hurting our productivity without even realizing what was happening. See some other posts out there as well:
All I would like is a way to turn this behavior on and off when needed (or just apply it to WEB projects not class libraries and the kitchen sink :-) ).