开发者

Reference an assembly from Team Foundation Server

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 refere开发者_StackOverflow中文版ncing the local copy? The class library will be updated pretty often.

Using Vs.net and TFS 2008.


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.


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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜