简体   繁体   English

在没有Visual Studio for Dot Net 4.5的情况下使用Tfs客户端dll

[英]Use Tfs client dll without Visual Studio for Dot net 4.5

at the moment i use Microsoft.TeamFoundation.Client.dll along with Microsoft.TeamFoundation.VersionControl.Client.dll to access the TFS programatically. 目前,我使用Microsoft.TeamFoundation.Client.dll以及Microsoft.TeamFoundation.VersionControl.Client.dll以编程方式访问TFS。

I added the dll's to the servers GAC and everything worked fine. 我将dll添加到了服务器GAC,并且一切正常。

Now that we migrate to dot net 4.5 and visual studio 2015, i tried to update the dll references. 现在我们迁移到dot net 4.5和visual Studio 2015,我尝试更新dll引用。 In Visual Studio everything works just fine but when i deploy the executable to the server and add the new versions of TFS dlls to GAC i have a dependency to Microsoft.VisualStudio.Services.Common.dll and i don't want to deploy that to the servers GAC as well. 在Visual Studio中,一切正常,但是当我将可执行文件部署到服务器并将TFS dll的新版本添加到GAC时,我具有Microsoft.VisualStudio.Services.Common.dll的依赖关系,而我不想将其部署到服务器GAC也是如此。

So is there a way to access TFS programatically without adding basically half of Visual Studio DLLs to the TargetMachine GAC? 因此,有没有一种方法可以以编程方式访问TFS,而无需将基本一半的Visual Studio DLL添加到TargetMachine GAC中?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM