{"id":7561,"date":"2008-06-23T11:04:00","date_gmt":"2008-06-23T11:04:00","guid":{"rendered":"https:\/\/blogs.msdn.microsoft.com\/bharry\/2008\/06\/23\/automating-the-creation-of-team-projects\/"},"modified":"2018-08-14T00:27:18","modified_gmt":"2018-08-14T00:27:18","slug":"automating-the-creation-of-team-projects","status":"publish","type":"post","link":"https:\/\/devblogs.microsoft.com\/bharry\/automating-the-creation-of-team-projects\/","title":{"rendered":"Automating the creation of Team Projects"},"content":{"rendered":"<p>Since I announced the ability to automate the creation of Team Projects in my TFS SP1 feature set post and my March Power Tools post, I&#8217;ve gotten several questions about the format of the XML file you need to create and pass to:<\/p>\n<p>tfpt createteamproject \/settingsfile:&#8221;filename.xml&#8221;<\/p>\n<p>I&#8217;ve attached the XML schema to this blog post and included a sample settings file.<\/p>\n<blockquote>\n<p>&lt;?xml version=&#8221;1.0&#8243; encoding=&#8221;utf-8&#8243;?&gt; <br \/>&lt;Project xmlns=&#8221;ProjectCreationSettingsFileSchema.xsd&#8221;&gt; <\/p>\n<p>&nbsp;&nbsp;&nbsp; &lt;TFSName&gt;A Valid TFS server&lt;\/TFSName&gt; <\/p>\n<p>&nbsp;&nbsp;&nbsp; &lt;LogFolder&gt; <br \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; c:\\RemoteTFSProjectStarte <br \/>&nbsp;&nbsp;&nbsp; &lt;\/LogFolder&gt; <\/p>\n<p>&nbsp;&nbsp;&nbsp; &lt;ProjectName&gt; <br \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Batch Project Creation Demo 23 <br \/>&nbsp;&nbsp;&nbsp; &lt;\/ProjectName&gt; <br \/>&nbsp;&nbsp;&nbsp; &lt;ProjectSiteTitle&gt; <br \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;!&#8211; default to project name if not specified &#8211;&gt; <br \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Batch Project Creation Demo 23&nbsp;&nbsp;&nbsp; <br \/>&nbsp;&nbsp;&nbsp; &lt;\/ProjectSiteTitle&gt; <br \/>&nbsp;&nbsp;&nbsp; &lt;ProjectSiteDescription&gt; <br \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;!&#8211; default to empty string if not specified &#8211;&gt; <br \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Project Description <br \/>&nbsp;&nbsp;&nbsp; &lt;\/ProjectSiteDescription&gt; <br \/>&nbsp;&nbsp;&nbsp; &lt;SccCreateType&gt; <br \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;!&#8211; none | new | branch &#8211;&gt; <br \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Branch <br \/>&nbsp;&nbsp;&nbsp; &lt;\/SccCreateType&gt; <br \/>&nbsp;&nbsp;&nbsp; &lt;SccBranchFromPath&gt; <br \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;!&#8211; string.Empty for none and new; supplied for branch &#8211;&gt; <br \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; $\/test44 <br \/>&nbsp;&nbsp;&nbsp; &lt;\/SccBranchFromPath&gt; <br \/>&nbsp;&nbsp;&nbsp; &lt;ProcessTemplateName&gt; <br \/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MSF for Agile Software Development &#8211; v4.2 <br \/>&nbsp;&nbsp;&nbsp; &lt;\/ProcessTemplateName&gt; <br \/>&lt;\/Project&gt;<\/p>\n<\/blockquote>\n<p>Hopefully this helps make it more clear,<\/p>\n<p>Brian<\/p>\n<p><a href=\"https:\/\/msdnshared.blob.core.windows.net\/media\/MSDNBlogsFS\/prod.evol.blogs.msdn.com\/CommunityServer.Components.PostAttachments\/00\/08\/64\/23\/88\/ProjectCreationSettingsFileSchema.xsd\">ProjectCreationSettingsFileSchema.xsd<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Since I announced the ability to automate the creation of Team Projects in my TFS SP1 feature set post and my March Power Tools post, I&#8217;ve gotten several questions about the format of the XML file you need to create and pass to: tfpt createteamproject \/settingsfile:&#8221;filename.xml&#8221; I&#8217;ve attached the XML schema to this blog post [&hellip;]<\/p>\n","protected":false},"author":244,"featured_media":14617,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[1],"tags":[5],"class_list":["post-7561","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized","tag-tfs"],"acf":[],"blog_post_summary":"<p>Since I announced the ability to automate the creation of Team Projects in my TFS SP1 feature set post and my March Power Tools post, I&#8217;ve gotten several questions about the format of the XML file you need to create and pass to: tfpt createteamproject \/settingsfile:&#8221;filename.xml&#8221; I&#8217;ve attached the XML schema to this blog post [&hellip;]<\/p>\n","_links":{"self":[{"href":"https:\/\/devblogs.microsoft.com\/bharry\/wp-json\/wp\/v2\/posts\/7561","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/devblogs.microsoft.com\/bharry\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/devblogs.microsoft.com\/bharry\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/bharry\/wp-json\/wp\/v2\/users\/244"}],"replies":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/bharry\/wp-json\/wp\/v2\/comments?post=7561"}],"version-history":[{"count":0,"href":"https:\/\/devblogs.microsoft.com\/bharry\/wp-json\/wp\/v2\/posts\/7561\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/bharry\/wp-json\/wp\/v2\/media\/14617"}],"wp:attachment":[{"href":"https:\/\/devblogs.microsoft.com\/bharry\/wp-json\/wp\/v2\/media?parent=7561"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/bharry\/wp-json\/wp\/v2\/categories?post=7561"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/devblogs.microsoft.com\/bharry\/wp-json\/wp\/v2\/tags?post=7561"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}