Over a year ago, Bill Menees asked the questoin, "Is there any way to
completely disable the download cache?" - answer was "no, but you can just
delete everything in it".
Is there any new info on disabling the download cache at all? Like Bill, I'm
running in to huge problems with debugging and using COM interop registered
projects, and want to be able to prevent any caching going on - I NEVER want
my Class Library projects caching, but I just cant find a way to prevent it;
worse, I cant figure out (like Bill) any logic as to when VS.NET suddenly
decides to start caching my binaries.
I dont want to have to delete my entire download cache each time - there
might be other stuff (e.g. ASP stuff) in there I'd rather keep. I dont want
to have to go through the cache manually and delete all the cached copies of
my one particular project either - there just has to be a better way - doesnt
there?? Surely there's a solution to this by now? Any ideas gratefully
received, as I'm really at the end of tether with this one.
Shelly
Claudio Caldato [MSFT] - 08 Dec 2004 02:12 GMT
Without more context it is hard to give an answer, few points:
- You can't disable the download cache for things that legitimately need
to be downloaded (e.g. over http://), because the bits need to be stored
somewhere in order to be actually loaded.
- Assemblies not bound over http:// don't go in the download cache, unless
your code explicitly sets shadow copy to enabled.
- Clearing your download cache has no affect on ASP.NET. They set their
own location for cached codegen assemblies that is in a separate location.
This might be also a VS issue with how it copies files.
Hope this helps
Claudio