tfs2010

TFS Custom Check-In Policy is not in the Add box

点点圈 提交于 2019-11-29 04:56:20
I have followed the steps on this website: http://msdn.microsoft.com/en-us/library/bb668980.aspx to create a TFS Custom Check-In Policy. I have updated the registry as it suggests except to Visual Studio 11.0 instead of 8.0 In Visual Studio 2012 -> Team Explorer -> Settings -> Source Control ->Check-In Policy Tab I click on Add. I see 4 policies, but mine is not listed. I have VS 2012 installed on my computer. I created the policy dll with VS2012 and referenced the 11.0 Microsoft.TeamFoundation.VersionControl.Client assembly. Please note TFS 2010 is installed on the source control server. If

Can we migrate to a new TFS process template and keep history?

耗尽温柔 提交于 2019-11-29 04:33:43
We are currently using TFS 2008 with the Scrum for Team System template from Conchango, with a few minor tweaks. We are looking at upgrading to TFS 2010 and we are considering moving to the MSF for Agile template. What is the best way to move to a new process template and keep history? I'd like to be able to create a new team project on the TFS 2010 server, get everything checked-in, and move our source to the new project. It would be nice if we could somehow keep the check-in comment history and possibly even be able to navigate back to the work item history associated with a changeset in the

TFS 2010 Custom Build Activity TF215097 error

女生的网名这么多〃 提交于 2019-11-29 03:19:00
For the Build Process in TFS 2010 I've created a library containing some custom code activities. In the past it all worked fine by adding the library (*.dll) to Source Control and setting the 'Build Controller - Version Control Path to Custom Assemblies' to the path where the library could be found in Source Control. But since a few days (and I've been updating the library often) the build doesn't succeed anymore. The error reported is: TF215097: An error occurred while initializing a build for build definition "Cannot create unknown type '{clr-namespace:BuildTasks;assembly=BuildTasks}'" After

How to get specific version of folder from tfs without creating a workspace?

烈酒焚心 提交于 2019-11-29 02:52:16
问题 I would like to get the source code of a project at specific time (changeset). So I need do download whole folder. I would like to do it for different times and handling a different workspace is not very convenient. I know about TFS Get Specific Version into separate folder (with workspace) and Need command to get a file from TFS without a workspace (one file). Is there some solution for whole folder without creating a new workspace? Edit I have found the accepted answer too ambitious. I

TFS2010 Build Definition to Deploy to multiple servers?

强颜欢笑 提交于 2019-11-29 02:03:57
I've been looking into TFS2010 new build and deployment features with MSDeploy. So far everything is going well (although its been hard to find information about specific scenarios). Can I modify my Build Definition to specify 2 or more servers to deploy to? What I need to do is deploy to multiple servers (as I have two in my testing environment which uses a NLB). What I have now is a Build definition which Builds, runs my tests, and then Deploys to ONE of my testing servers (which has the MsDeployAgentService running on it). It works fine, and each web project is deployed as configured in its

Standalone GUI client for TFS 2010 Source Control

感情迁移 提交于 2019-11-29 01:04:57
I'm looking for a TFS 2010 GUI client that I can use outside of an IDE. I'm only looking to use the source control features in this case. I'm not talking about work items or build management. Ideally it would be a complete client that can be used on a machine where Visual Studio is not installed. Options I know about and why I'm not satisfied with them: TFS Power Tools - Windows Shell Extension Must have a working copy to use... see chicken or the egg Missing features: view history, branch / merge, revert SvnBridge TFS 2010 not yet supported Are there others that I don't know about? You can

“AnyCPU” vs “Any CPU” in TFS 2010

对着背影说爱祢 提交于 2019-11-28 22:50:54
I spent a great many hours trying to work out why my project builds with the default (blank) configuration on TFS2010 but tells me there's no output path if I set it to anything. In the end, I realised that in the .csproj file the configuration is written as AnyCPU while for TFS the proposed drop-down value is Any CPU (notice the space). I removed the space in the TFS configuration and it worked. The project was converted from a VS2008 version. Did MS change the name of the configuration for the VS2010 version? Can someone tell me what's happening? This seems to be a known bug in VS2010. See

How to disconnect solution from source control on TFS

穿精又带淫゛_ 提交于 2019-11-28 22:23:08
I have a solution with solution folder and projects. Get the whole soure code from TFS in a local folder say c:\mycodes Then copy the folder c:\mycode to another folder c:\lab In c:\lab, remove all source control file *.vssscc, *.vspscc, then open the solution in c:\lab again. Part of the project disconnect from TFS, but part of the projects in this solution still connect to TFS and some *.vssscc, *.vspscc files recreated when open the solution. Then unbind all project from server, those projects still have *.vspscc files auto generated. I want to a clean copy of the source code with no source

TFS 2010: Getting list of changeset Ids

一曲冷凌霜 提交于 2019-11-28 21:22:44
I need to create two methods as follows: Retrieve all changesets in TFS. Retrieve all changesets newer than a specified changeset. I've done some google searching and found a few links and managed to come up with some code. I can't seem to work out the method to call to get the complete list of changeset items. I've botched something together to get this but was wondering if someone can help me: TfsTeamProjectCollection projectCollection = TfsTeamProjectCollectionFactory.GetTeamProjectCollection(new Uri("http://mydomain.com:8080/tfs")); VersionControlServer versionControl = projectCollection

Moving a Team Project from one Collection to another

给你一囗甜甜゛ 提交于 2019-11-28 21:16:08
is there a (simple) way to move a single TeamProject from one collection to another (in one server) in TFS 2010? Including source code, work items, documents, project site... A-Dastani No not really simple, you can split a collection and creata a new collection with the team projects you move in it, but you cannot out-of-the-box merge a team project into an existing collection. What you can do is to use the TFS integration platform http://visualstudiogallery.msdn.microsoft.com/eb77e739-c98c-4e36-9ead-fa115b27fefe or http://tfsintegration.codeplex.com to migrate your team project over to the