views:

12

answers:

2

I have a class library project in TFS version control. I want another project reference the output dll. Is there an easier way other then checking out the project and referencing the local copy? The class library will be updated pretty often.

Using Vs.net and TFS 2008.

+1  A: 

If it is in the same team project, the best way to do this is through a project reference. That way, it will just build both when it needs to. If you don't want to do that, you will need to do a "get" of that DLL prior to starting the build.

My suggestion would be to put in a pre-build event that does a TF.exe get to get the latest version of the assembly.

Robaticus
A: 

You can work with hintpaths in your project to add local paths to the list of paths to search for assemblies

Ewald Hofman