Microsoft.TeamFoundation 创建项目 [英] Microsoft.TeamFoundation create project

查看:21
本文介绍了Microsoft.TeamFoundation 创建项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

这里有一些关于 TeamFoundation tfs sdk 的信息.

Here is some info about tfs sdk for TeamFoundation.

http://geekswithblogs.net/TarunArora/archive/2011/06/18/tfs-2010-sdk-connecting-to-tfs-2010-programmaticallyndashpart-1.aspx

我想使用我自己的脚本在 TFS 中的选定集合中创建项目.不幸的是,我找不到任何像样的文档:/我已经设法使用 ITeamProjectCollectionService 的实例和方法 QueueCreateCollection() 从 .net 脚本创建集合.我相信有一个选项可以在这个 SDK 的某个地方创建项目.你们中有人使用过这个 SDK 吗?

I'd like to create project within selected collection in TFS using my own script. Unfortunately I can't find any decent documentation :/ I've already managed to create Collection from .net script using instance of ITeamProjectCollectionService and method QueueCreateCollection(). I believe there is an option to create project as well somewhere in this SDK. Has any of you worked with this SDK?

推荐答案

我有一个 Powershell 脚本来根据我们的标准创建一个项目,它使用 Team Foundation Server Powertools.

I have a Powershell script to create a project according to our standards and it uses Team Foundation Server Powertools.

tfpt.exe createteamproject /collection:$collectionURL "/teamproject:$teamproject" /processtemplate:"Microsoft Visual Studio Scrum 2013.2" /sourcecontrol:New /verbose /noportal

注意:Team Explorer 必须安装在同一台机器上;其版本必须等于或高于 TFS 的版本.

Note: Team Explorer must be installed on the same machine; its version must be equal or higher than TFS' version.

遗憾的是,没有选择 Git 版本控制而不是 TFVC 的选项.

Sadly, there is no option to choose Git version control instead of TFVC.

这篇关于Microsoft.TeamFoundation 创建项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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