问题描述
我一直有一个有点麻烦的TFS 2013得到建立使用Visual Studio 2015年在文件的检查时工作。该解决方案/项目,我的工作已于2015年VS(.NET 4.6)创建,我似乎有麻烦建立它在我的TFS 2013。
I have been having a bit of trouble getting Build on TFS 2013 to work when using Visual Studio 2015 for the checking in of files. The solution/project that I am working on was created on VS 2015 (.NET 4.6) and I seem to be having troubles building it on my TFS 2013.
我首先得到一个错误:
确认在声明中路径是正确的,并且
该文件存在于磁盘上。
但我似乎加入已经克服了这个:
But I seem to have overcome this by adding:
/p:VisualStudioVersion=14.0
针对的MSBuild代理。
克服然后我尝试建立一个检查(从2015年VS),我现在得到的错误:
against the MSBuild Agent.That overcome I then try to build a check in (from VS 2015) and I now get the error:
TF900547:包含Visual的组件目录
Studio测试亚军是无效的C:\\ Program Files文件(x86)的\\微软
的Visual Studio 12.0 \\ Common7 \\ IDE \\ CommonExtensions \\微软\\ TestWindow。
这是暗示仍然有旧版本VS的参考为TestWindow(即12.0),而不是寻找的文件夹中。
This is suggesting that there is still a reference to the older version of VS for the TestWindow (i.e. 12.0) instead of looking in the folder
Visual Studio的14.0
这是我想它指向。
我在同一台机器上安装了Visual Studio 2015年TFS所以一切都在那里 - 但在各自的文件夹14.0 TFS哪里去不断12.0看看
I have Visual Studio 2015 installed on the same machine as TFS so everything is there - but in the respective 14.0 folders where TFS keeps going to look in 12.0
我失去了与问候一个明显的把戏我怎么有这一切的设置还是我只是保持具有这些问题,堵塞,因为他们来了?
Am I missing an obvious trick with regards to how I have all this setup or do I just keep having to plug at these issues as they come up?
很显然,我想获得TFS 2015年建立到一起使用VS 2015年发展,但就是有点欺骗尚未关闭。
Obviously I would like to get TFS 2015 setup to use alongside VS 2015 developments but that is a little wile off yet.
谢谢!
推荐答案
我结束了从头开始,但这次安装VS 2013沿着2013 TFS安装。从那时起,一切似乎罚款和建设好!
I ended up starting from scratch but this time installing VS 2013 alongside the 2013 TFS installation. Since then all seems fine and building well!
这篇关于TFS构建2013 - 使用Visual Studio 2015年的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!