如何为 TFS 2017 构建定义设置 VS 2008 版本选项

How to set VS 2008 version option for TFS 2017 build definition

我是 TFS 的新手,我正在尝试使用 Team Foundation Server 2017 Build 功能构建一个使用 Visual Studio 2008 创建的 VB 项目。

如下图所示,我需要在构建解决方案任务中设置 Visual Studio 版本,Visual Studio 2008 没有下拉选项。

无论如何我可以 select VS 2008 来构建这个项目吗? 或者可以这样做吗?

如果能得到任何帮助,我将不胜感激。

根据 Microsoft 在 TFS Server Requirements 提供的信息,并专门研究客户端兼容性/Visual Studio 2008 属于 MSSCCI 支持类别:

MSSCCI support Visual Studio/Team Explorer 2008 and Visual Studio 2005 are no longer officially supported. To connect to the server, these clients must interface through the MSSCCI provider instead. MSSCCI support only includes support for source control integration and MSSCCI commands. The goal is simply to allow developers to continue working with legacy applications in an upgraded server.

我相信,如果您必须坚持使用 Visual Studio 2008,您可以改用 MSBuild 步骤,并指定 MSBuild 3.5 的正确位置,并验证这是否适合您: