tfs2010

How to revert (Roll Back) a checkin in TFS 2010

大憨熊 提交于 2019-11-26 18:55:43
问题 Can anyone tell me how to revert (roll back) a checkin in TFS 2010? 回答1: You have two options for rolling back (reverting) a changeset in Team Foundation Server 2010 Version Control. First option is using the User Interface (if you have the latest version of the TFS 2010 Power Tools installed). The other option is using the TFS 2010 version control command-line application: tf.exe rollback I have information about both approaches on my blog post. For Team Foundation Server 2012, 2013, or

MVC project on VS2010 error : The project type is not supported by this installation

最后都变了- 提交于 2019-11-26 18:10:23
问题 I'm trying to open MVC project using VS2010 . I'm opening this project from TFS server but I'm failed to open it and getting error : The project type is not supported by this installation. please help. 回答1: You basically don't have something installed. That's why you get this error. I am very sure that you need to install the VS MVC project type - either MVC 2 or MVC 3. Use The Web Plaform Installer to install. The web platform installer can be found here: http://www.microsoft.com/web

TFS 2010 Branch Across Team Projects - Best Practices

我只是一个虾纸丫 提交于 2019-11-26 17:38:23
问题 I'm having issues understanding how to configure TFS according to best practices as provided by the TFS Ranger team. The issue is such: My company has several products which make use of a shared common code base. > $/Core > -> /Main/Source (Parent Branch) > > $/Product1 > -> /Main/Source > -> /Main/Source/Core/Source (Child Branch from $/Core) > -> /Main/Source/... > > $/Product2 > -> /Main/Source > -> /Main/Source/Core/Source (Child Branch from $/Core) > -> /Main/Source/... Therefore we have

How to undo another user's checkout in TFS via the GUI?

冷暖自知 提交于 2019-11-26 15:03:30
问题 As the resident TFS admin, on occasion I am asked to undo a checkout (usually a lock) that a user has on a certain file. This can be done via the command line using the TF.exe utility's Undo command (see http://msdn.microsoft.com/en-us/library/c72skhw4.aspx), but that's kind of a pain. Is there a way to undo another user's checkout via the GUI? 回答1: Out of the box, no, but there are at least a couple of options via add-ons. TFS Power Tools TFS Power Tools (Visual Studio 2010) TFS Power Tools

Retrieving work items and their linked work items in a single query using the TFS APIs

谁说我不能喝 提交于 2019-11-26 14:38:41
问题 Does anyone know if it is possible to retrieve a list of work items and their linked work items in one trip from TFS using their TFS API web services? At the moment, we are having to make a second call for each of the work items made during the first call, and is introducing a performace issue. If that is not possibly, is there a way to peek at the type of the linked work item without retrieving them (e.g. See if it is a task or issue) ? 回答1: The article you 're referring to in your answer

How to have TFS 2010 detect changes done to files outside of Visual Studio?

两盒软妹~` 提交于 2019-11-26 08:45:55
问题 I\'m using Team Foundation Server 2010 with Visual Studio 2010. Whenever I modify a file outside of Visual Studio, TFS doesn\'t seem to detect the change done to the file, and thus doesn\'t offer me the option to check-in the file after it has been modified. How can this be solved? 回答1: If you have a network connection to your server while you're working outside of Visual Studio, it's probably best to go ahead and check the file out before editing it, either using the tf command line client,

How can I get TFS2010 to run MSDEPLOY for me through MSBUILD?

て烟熏妆下的殇ゞ 提交于 2019-11-26 08:39:53
问题 There is an excellent PDC talk available here from Vishal Joshi which describes the new MSDEPLOY features in Visual Studio 2010 - as well as how to deploy an application within TFS. (There\'s also a great talk from Scott Hanselman but he doesn\'t go into TFS). You can use MSBUILD within TFS2010 to call through to MSDEPLOY to deploy your package to IIS. This is done by means of parameters to MSBUILD. The talk explains some of the command line parameters such as : /p:DeployOnBuild /p