I have an external compiled assembly with HtmlHelper extension methods. I need to use it in the project so that there wouldn't be any absolute references to this assembly because the project is shared with Team Foundation Server. What is the usual way to solve the problem?
+4
A:
I usually have a lib
folder that is part of the solution and which contains all third party assemblies used by the projects. As it is part of the solution it is version controlled by TFS. Also when you distribute the solution it will contain all the necessary references that are needed to build making it independent.
Darin Dimitrov
2010-07-03 20:37:01
Will then the path to the assembly be relative to the project folder automatically?
eigenein
2010-07-03 20:42:44
Yes it will be relative. But remember that the referenced assembly will be automatically copied to the `bin` folder upon compilation and it will be this copy that will be used during runtime.
Darin Dimitrov
2010-07-03 20:52:41