Create a Team Project with TFS SDK from C# .Net App

606 Views Asked by At

I want to create a new Team Project with the TFS SDK (namespace Microsoft.TeamFoundation;). But I haven't found anything appropriate so far.

I searched the Internet and only saw that I could use the official REST API for TFS: https://www.visualstudio.com/integrate/api/tfs/projects (See at "Create a team project")

What's the best way to create a Team Project using C# .Net?

Thanks for any advice given.

1

There are 1 best solutions below

1
On

Write C# code that invokes the REST API. There may also be something in the new REST API wrappers that you can get from NuGet

The old-style TFS SOAP API cannot create Team Projects as far as I know.