tfs

How to delete a file from TFS repository without deleting local file

荒凉一梦 提交于 2020-01-14 07:17:12
问题 I'm using TFS 2012 to version control a bunch of files sitting in a folder tree (not a Visual Studio project). I'm sure one day soon I will accidentally add a file to version control that I don't want to be version controlled (with my luck probably a bunch of files). At that point, I would like to be able to remove the file from TFS, without deleting my local file . So far I can't see anyway to do this. Seems like in Visual Studio Source Control Explorer there is an "Add Items to Folder"

从TFS 删除工作项

狂风中的少年 提交于 2020-01-14 04:44:07
一、进入命令执行窗口的方式 1、若你的TFS服务器上安装了VS开发工作,可以按以下步骤,进入命令行方式,图如下: 2、若你TFS上没有安装VS开发工作,可以从你的开发机器上的VS安装目录下(一般情况下在:C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE\witadmin.exe)拷贝witadmin.exe文件到TFS服务器上对应的文件夹下,然后按以下步骤操作: 1)使用Tfs管理员账户登录 2)使用Cmd打开命令行窗口   如果是32位系统,cd "C:\Program Files\Microsoft Visual Studio 10.0\Common7\IDE"   如果是64位系统,cd "C:\Program Files (x86)\Microsoft Visual Studio 10.0\Common7\IDE" 二、执行删除工作项的命令 删除工作项(单个) witadmin destroywi /collection:http://tfs-srv:8080/tfs/DefaultCollection /id:1000 删除工作项(批量) witadmin destroywi /collection:http://tfs-srv:8080/tfs/DefaultCollection /id:1000,

Sign in to Visual Studio with Organization account instead Microsoft account

冷暖自知 提交于 2020-01-14 04:10:13
问题 Nowadays it is possible to use Visual Studio Team Services from Microsoft Azure with Organization account, without having to have Microsoft Account. This is nice feature and we use it in our organization. However it seems that we are not able to activate / use Sign in to visual studio button and login with Organization account, because only Microsoft account prompt is shown. Is it possible, and if so, how to login/sign-in/activate Visual Studio 2013 desktop program with Azure Organization

Updating “Web References” as part of TFS Builds

牧云@^-^@ 提交于 2020-01-14 03:12:29
问题 Is there an easy way to update Project " Web References " as part of a TFS build? For some background... I have a couple Web References pointing at public services. The service providers change their contracts periodically and I'd like to discover this in a nightly build. I know I could build an MSBuild task that downloads the WSDL and build reference assemblies using svcutil but that would mean changing a lot more about the projects structure. Is there something built-in to the .NET stack,

TFS build - deployment/package target does not run

本小妞迷上赌 提交于 2020-01-13 18:05:39
问题 We have a TFS build definition set up where we pass the following extra MSBuild arguments in: /p:DeployOnBuild=true;DeployTarget=PipelinePreDeployCopyAllFilesToOneFolder;_PackageTempDir="\\server\build";AutoParameterizationWebConfigConnectionStrings=false This has been detailed elsewhere as a way to have the published files copied to a specific location instead of generating a deploy package. This unfortunately does not work on our build server, however if I run the exact same msbuild command

How to associate an Eclipse Workspace with TFS workspace?

烈酒焚心 提交于 2020-01-13 09:21:08
问题 I am working with Team Foundation Server plug-in for Eclipse Version 11.0.0. I have several Eclipse workspaces and several TFS workspaces. Is it possible to associate a TFS workspace with an Eclipse workspace? I see that mapping local folder does not work for this purpose – the workspace remains the same 回答1: Write them down. I work on a project with a team that has this same issue. After a lot of digging it doesn't seem to be possible. It would have to be functionality in the TFS plugin also

How to get a Count of the Items in my TFS Local Workspace?

吃可爱长大的小学妹 提交于 2020-01-13 08:41:07
问题 When I open my Visual Studio and get a solution from our TFS I have following message in the Output Window: TF401190: The local workspace [MACHINE_NAME;USER_NAME] has 158412 items in it, which exceeds the recommended limit of 100000 items. To improve performance, either reduce the number of items in the workspace, or convert the workspace to a server workspace. This is not an error, but a warning and I can work OK, although I feel there is a real performance hit during my work. To resolve

How to get a Count of the Items in my TFS Local Workspace?

半世苍凉 提交于 2020-01-13 08:41:07
问题 When I open my Visual Studio and get a solution from our TFS I have following message in the Output Window: TF401190: The local workspace [MACHINE_NAME;USER_NAME] has 158412 items in it, which exceeds the recommended limit of 100000 items. To improve performance, either reduce the number of items in the workspace, or convert the workspace to a server workspace. This is not an error, but a warning and I can work OK, although I feel there is a real performance hit during my work. To resolve

How to query for TFS work items with or without tags

时光总嘲笑我的痴心妄想 提交于 2020-01-13 08:30:50
问题 TFS supports querying on tags, but I can't find a way to create a TFS work item query to return results that have no tags or any tag. It is not possible to sort the Tag column in the TFS web access, so I can't even return all work items and then sort on the column to focus on those with tags and those without tags. For example, I was hoping to see a wild card or any for the Tags value below: 回答1: I'm about a year too late, but I just accomplished this by doing Tags, Does Not Contain, "". I

Why doesn't my .tfignore file ignore my packages folder

醉酒当歌 提交于 2020-01-13 08:16:24
问题 I am using Visual Studio 2013 Pro and Team Foundation Server 2013. I have a .tfignore file with the following lines: \packages \<project name>\Bin !\<project name>\Bin\*.refresh Line 1 is not working but lines 2 and 3 are. The project name above is a website inside a solution. There is nothing else in this solution. There are nuget packages installed which automatically pull down when you publish or build the website. When that happens this package folder is created in the solution. It's not