I am trying to automate to get the latest code from TFS server to local path. The initial step for this is to create a workspace in TFS server if not exist already. How will i create the workspace with local folders mapping to the server folders.
相关问题
- Sorting 3 numbers without branching [closed]
- Graphics.DrawImage() - Throws out of memory except
- Why am I getting UnauthorizedAccessException on th
- 求获取指定qq 资料的方法
- How to know full paths to DLL's from .csproj f
Use the
VersionControlServer.CreateWorkSpace
method to create a workspace and set the working folders (use one of the overloads that accepts aWorkingFolder[]
. Or update the workspace after initial creation. You can add addtional mappings and cloaks to the workspace at any point in time.Getting to the
VersionControlServer
and connecting to TFS using the API is described in this post.