svn - Adding 3rd party libraries to Visual Studio source control -


This is a problem that I was eating for a while, and I did not find a good solution to its purpose).

I am using Visual Studio 2010 with Subversion and Ekhswini, it works very well, however, my biggest problem with it is that it only "files in the project" Recover and manage It's great in many situations, but when you want a folder with such objects that you want to include in the solution, but do not want in the project itself (in this case a web project).

In this case, I want to add some 3rd party DLL to source control (so they can be kept up-to-date while synchronizing with version control). I do not want developers to install different third party DLLs. Generally it happens that you refer to DLL from another location and they are copied to your bin folder in time compilation.

I do not want to include them in the project because I do not want to duplicate them when I publish the site then on the web server (besides the bin directory where they should be). I thought of making a separate project for them, but it would create a useless DLL which has no purpose which would be copied to the bin folder as it is a reference.

I have tried to check them out of the bin folder, but it has caused many problems where the files were not transmitted better, with a subdivision already having a version folder Was talking about This is a reversal or AKSWN problem rather than a visual studio, for example, I try to keep bin folder untouched by version control.

How have you solved this problem in your projects?

In this way we do our own project.

folder structure

We have the SourceCode folder, in which the projects Are subfolders for

In addition to this it has a folder Library which contains the right version of any third party DLL we use. This folder in version control and therefore always has the correct version of third party DLL

All references to projects for third party DLL are related to this Library folder.

Since everyone has the SourceCode folder on their machine, so it works fine with no problems.

EDIT: The image of the solution folder with library contents was added VS solution folder


Comments