I am following the recommended guidance for Team Foundation Server by mapping the root of the source control tree to a local folder. However, I do not want to map every folder underneath that root. I can cloak one folder at a time, but would prefer to cloak a number of folders at once. Is there a way to do so easily?
相关问题
- How to access the camera from my Windows Phone 8 a
- Getting error: File extension specified '.webt
- Using TFS command line tf.exe how can I copy a rep
- TFS Power tools Migrate doesn't actually migra
- What is the difference between tfpt scorch and tfp
相关文章
- What is the tortoisehg gui equivalent of doing “hg
- How to use Mercurial from Visual Studio 2010?
- SSIS solution on GIT?
- Is it possible to do a “destroy history” in TFS?
- Is there a version control system abstraction for
- How do I make a TeamCity build appear in the TFS B
- TFS vs. JIRA/Bamboo/SVN [closed]
- Get Android library module version number from ins
I found another way to do this in PowerShell. Change to the mapped directory where you wish to cloak files and enter the following command:
This will cloak every directory at the current folder level. If you wish to exclude certain directories from being cloaked at this level, add the -Exclude parameter:
where
<foldernames>
can be one or more folders separated by commas. Preferably each folder name can be embedded in double quotes (to allow spaces, for example).Also if the tf command does not work, you can use the Set-Alias prior to this as explained in this answer: powershell tf command not recognized as the name of a cmlet
In the Edit
Workspaces dialog box
, in theWorking folders
list i suggest to change the setting fromActive to Cloaked
for each folder.link : http://msdn.microsoft.com/en-us/library/ms181378(v=vs.110).aspx
based on this link : http://msdn.microsoft.com/en-us/library/ms181378%28VS.80%29.aspx