带有 TFS 2010 的 Visual Studio 2015 [英] Visual Studio 2015 with TFS 2010

查看:33
本文介绍了带有 TFS 2010 的 Visual Studio 2015的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们最近将 SQL Server 2008 升级到 SQL Server 2014,由于我们有 DB 项目,我们还必须将 Visual Studio 从 2010 升级到 2015,以支持从 Visual Studio 在本地构建和部署 DB 项目.

We recently upgraded SQL Server 2008 to SQL Server 2014 and since we had DB projects we also had to upgrade Visual Studio from 2010 to 2015 in order to support build and deployment of DB projects from Visual Studio locally.

我们现在正在尝试将 Visual Studio Enterprise 2015 与 TFS 2010 结合使用但我面临着构建自动化和 TFS 服务器的问题

We are now trying to use Visual Studio Enterprise 2015 with TFS 2010 But I am facing issues with build automation and TFS server

  1. 当我尝试选择要构建的项目"时,我收到此消息框,

  1. When I try to select "Items to Build" I am getting this message box,

当我尝试打开构建模板时,我无法查看某些代理范围,

When I try to open the build template I am not able view some of the agent scope,

非常感谢任何有助于解决此问题的建议,谢谢.

Much appreciate any advice that can help to fix this issue, thanks.

============== 更新 ==========================

============= UPDATE ========================

我在同一个工作站上安装了 VS 2010 和 VS 2015(2010 在主驱动器中,2015 在辅助驱动器中),它似乎指向 2010 版的 teamfoundation dll.

I have VS 2010 and VS 2015 installed on same workstation (2010 in primary drive and 2015 in secondary drive), it seems it is pointing to teamfoundation dll's of version 2010.

我手动尝试在GAC中安装VS 2015的Microsoft.TeamFoundation.Build.Workflow;这解决了我的第二个问题(即现在查看构建模板没有问题)但我在选择要构建的项目"时仍然面临同样的错误

I manually tried to install Microsoft.TeamFoundation.Build.Workflow of VS 2015 in GAC; this solved my second problem (i.e. no problem in viewing the build template now) but I am still facing same error while selecting "Items to build"

================================

================================

推荐答案

我认为您可能必须修改构建模板以指向 MS Build 14.0 版.是的,有两个参数需要设置,包括ToolPath"和Tool version".详细可以参考这个链接:BuildActivity ignores ToolsVersion

What I thought is that you may had to amended the build templates to point to MS Build version 14.0. Yes, there are two parameters including 'ToolPath' and 'Tool version' to set. For detail, you can reference this link:BuildActivity ignores ToolsVersion

这篇关于带有 TFS 2010 的 Visual Studio 2015的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆