在 TFS 2010 中构建 VB6 项目 - 正确的方法?
我一直在为我们旧的 VB6 COM 组件设置自动构建。
我已成功安装 TFS 2010 的 MSSCCI 提供程序,并且可以成功从 Visual Basic IDE 中的存储库签入和签出代码。
我的存储库由 1 个团队项目(称为 VB6)组成,每个 VB6 项目都有单独的目录。
当有人检查任何 VB6 项目的任何更改时,我希望能够构建团队项目中的所有 VB6 项目(我确信我可以通过在构建定义中设置多个构建来做到这一点)。
据我所知,有两种方法可以使其发挥作用: 编辑构建模板< /a> 或使用 MSBuild 扩展包
- 这两者都需要我在构建计算机上安装 VB6 编译器?
- 哪种方法是 TFS 2010、MSBuild v4 的首选方法?
与必须安装扩展包相比,我更喜欢编辑构建模板的想法。
I've been fiddling with setting up automated builds for our old VB6 COM components.
I have successfully installed the MSSCCI provider for TFS 2010 and can successfully check in and check out code from the repository in the Visual Basic IDE.
My repository consists of 1 Team Project (called VB6) with separate directories for each VB6 project.
I'd like to be able to build all the VB6 projects in the Team Project when someone checks in any changes on any of the VB6 projects (I'm sure I can do this by setting up multiple builds in the build definition).
As far as I can tell, there are 2 ways to get this to work:
Editing the Build Template or using the MSBuild Extension Pack
- Will both of these require me to install the VB6 compiler on the build machine?
- Which is the preferred approach for TFS 2010, MSBuild v4?
I prefer the idea of editing the build template than having to install the extension pack.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
MSBuild .proj 文件已被 VS2010 中的 Windows 工作流 XAML 构建模板取代,因此我会采用这种方法。据我所知,无论哪种方式,您都必须在服务器上安装 Visual Basic,因为您需要旧的 VB6 编译器。
MSBuild .proj files have been superseeded by windows workflow XAML build templates in VS2010 so I would go with that approach. As far as I know, either way you will have to install Visual Basic on the server as you need the old VB6 compiler.