Setting up environment variables in Visual Studio 2010
How can we set up the PATH environment variable in Visual Studio 2010 for the entire solution/pr开发者_C百科oject?
When I want to refer to a reference .dll, it has worked for me to set up a Solution Explorer level folder, and add the DLL file to that folder. Then in the filesystem, I add a matching folder (since the Solution folder is logical and not a real folder) at the solution level. There I put the physical DLL file, and if you are using source control, check-in that directory.
Once that's all done, for any project that needs to reference that DLL file, I can browse to it on the Solution level, add the reference, and make sure that the properties are set to 'Copy Local,' so that the DLL file shows in the appropriate /bin
folder.
I would try something like that to get your dependencies better organized.
精彩评论