tfs2010

Why checking in a gated shelveset does not effect the pending changes?

家住魔仙堡 提交于 2019-12-11 12:01:58
问题 I am playing with the gated check-ins using an almost empty workflow, just to understand the inner workings. Here is my scenario: Make a change. Check-in, triggering the gated check-in - the workflow does nothing. Go to the agent associated with the gated check-in and play a bit with the shelveset - see below. So, I have created a new file (1.txt) and checked it in. The change is recorded in a new shelveset and now I am going to the agent and first make sure that no changes are there and that

Why can't I change the identity of this account in Team Foundation Server?

拜拜、爱过 提交于 2019-12-11 11:09:02
问题 I'm trying to migrate the collections from one Team Foundation Server to another. A collection that uses local account memberships fails to get attached to the new server. The other collections use domain accounts and get attached without any problem. So, I identified the accounts with tfsconfig identities Then, I attempted to change the identities by using the following command: tfsconfig identities /change /fromdomain:MACHINE_NAME /todomain:DOMAIN_NAME /account:LOCAL_ACCOUNT_NAME /toaccount

Clean pending changes “ADD” in VS2010 TFS 2010

…衆ロ難τιáo~ 提交于 2019-12-11 10:28:36
问题 Is there way to clean up pending changes with "Add" value in column "Change" . They seem to be related to open solution according to folder path, but not present either in the solution or file system. Pressing "Filter by solution" actually doesn't show them and shows "Delete" for other files in unrelated projects which is also confusing. There were manipulations to move solutions to other root folders which could contribute to that. All those solutions are not really used, so any possible

Not able to add test cases to type of IRequirementTestSuite

不羁的心 提交于 2019-12-11 09:38:29
问题 I have created a test case workitem using TFS API.When i am trying to the test case to IStaticTestSuite it was successfull. if (firstMatchingSuite.TestSuiteType == TestSuiteType.StaticTestSuite) ((IStaticTestSuite)firstMatchingSuite).Entries.Add(testCase); But i am not able to add a test case to IRequirementTestSuite using the below code.I get "Cannot add or remove test cases" error. if (firstMatchingSuite.TestSuiteType == TestSuiteType.RequirementTestSuite) ((IRequirementTestSuite

Recursive Pattern match in .tpattributes file [TFS 2010]

一世执手 提交于 2019-12-11 09:19:31
问题 I'm trying to use a .tpattributes file to retain Execute permissions on all files under a directory in my project. However, it appears the attribute is only applied to the top level folder, and I can't find a way to make it recursive. Attempt 1: #Trying to prevent TFS from screwing up files like it loves to do .**\/*:x Attempt 2: #Trying to prevent TFS from screwing up files like it loves to do .*/*:x The documentation here isn't very helpful, and I haven't been able to find any other

Project Directory Tree on TFS 2010

旧时模样 提交于 2019-12-11 09:16:14
问题 I'm migrating from VSS to TFS 2010 and using that as a good opportunity to review how we organize projects in the company. Our company deals with two market segments, let's say Sports and Industrial Inspection. Since there's a low likelihood of sharing projects or code from one codebase to another, I created two project collections, one for sports and one for inspection. The thing is that developers are used to the VSS way of organizing projects by creating a directory tree where the projects

last local or current changeset id

坚强是说给别人听的谎言 提交于 2019-12-11 08:28:37
问题 This question is related to the last change set id available in TFS, my query is , our tfs collection has multiple branches.I create a work space for each branch and build them. Now my question is: i wanted to know the last local changeset id of the workspace with which i builded the solution. For example, i build MAIN branch 2 days back, now i wanted to know the last local change set id that is available locally. I used History command but some how it is giving the server changeset not the

VB.Net Method appears to be called multiple times when it actually isn't, and returns inconsistent results

隐身守侯 提交于 2019-12-11 08:13:43
问题 I have been staring at this problem all day and I'm completely baffled by what I'm seeing. There are two issues occurring, and unfortunately, one of them only happens in Production so I can't test it the way I'd like. I will give all the background and relevant information up front with the code at the end. Some of what I say in these next couple sections won't make much sense until you review the code. Background info: (I have triple verified all this information) This class is being called

SQL Management Studio and TFS

故事扮演 提交于 2019-12-11 08:08:36
问题 I'm trying to setup TFS 2010 integration for SQL Management studio 2008. I've installed MSSCCI and managed to create a ssmssln file and add it to TFS, however I don't see any options to add the SQL files to TFS from SQL Management studio 2008. I, configured the scource control plugin under Tools->Options for SQL Management studio. Should the MSSCCI provider give me the ability to check sql scripts in and out of TFS? If so what do I need to do in order to add files to TFS from within SQL

Team members power tools 2012 with TFS 2010

余生长醉 提交于 2019-12-11 07:44:52
问题 I have visual studio 2012 installed with TFS 2010. I installed power tools 2012 recently but I do not see the Team Members tab. Is there compatibility issue between TFS 2010 and VS 2012? If yes, any work around to see the Team Members tab in VS 2012 with TFS 2010? I referred to the below link and it seems there are compatibility issues. Any work around? User Check-In History in Visual Studio 2012 / 2013 回答1: I suggest you to use Power tools 2010 by Command Line , or add External Tool (Section