Reputation: 21
1) What controls what dlls are copied to C:\users...\AppData\Local\Microsoft\VisualStudio\10.0\ProjectAssemblies? 2) Is there a way to prevent Visual Studio from storing dlls in this folder?
Upvotes: 1
Views: 330
Reputation: 1007
Richard,
I'm not sure I know what you mean by "caching dlls". The compiler will pull the dll that the project references in the References folder of the Solution Explorer into the bin folder. If you have a DLL and you wish to create a newer version of the DLL in a separate location you will have to delete the reference and then add a new reference to the newer version. I frequently copy the versions of the DLLs that I want to use into the Solution folder then I make a reference to these copies in my project (you have to use Browse). This accomplishes two things. (1) My project is locked into a know version of the DLL and won't break unless I change that copy. (2) When I DO want to change to a newer version of the DLL, I just have to overlay that copy with a newer version and re-compile. I'm not sure if I have answered your question, but I hope it helps.
Doug
Upvotes: 1