I’m having trouble managing my .dll references in projects in Visual Studio. All the registered .NET and COM references work fine but when it comes to .dll files on disk, if I refer to my files on disk, my colleagues will be missing references because they may have it in a different location on disk etc. Does Visual Studio have a environment variable like $PATH or something so that each computer have paths it will look in first before saying that it can’t find a reference? Or is keeping the .dll references in the source control a better option?
Ok, it worked perfectly. In VS, I just added a folder to the solution, added the dlls to the folder and added everything to source control. I referred to those dlls in individual projects and when I get the latest version from other computers, it linked properly. Thanks guys
This works for me, both in subversion and VSS.
Don’t put dll’s into \bin because repositories like VSS like to make them readonly, which interrupts clean and re-build.
Visual Studio doesn’t understand dependencies above the solution level, so if you have solutions that depend on solutions, you’ll have to show that in your build scrips/build server.