tfs2010

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

放肆的年华 提交于 2019-11-27 18:45:51
问题 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

TFS Build not transforming web.config as expected

筅森魡賤 提交于 2019-11-27 17:37:10
The goal is to have TFS build and deploy 2+ different configurations, and have the web.config transform files include the intended content in their output. This in an ASP.NET MVC project. Web.Debug.Config - see on PasteBin . Web.Release.Config - see on PasteBin The 2 transformed config files have their Build Action set to None . This was modified because all 3 web.*.config files were being included in the deployment. TFS is configured correctly to build and deploy both configurations. It deploys to the 2 drop locations as expected. There are no MSBuild Arguments specified in the build

TFS 2010 Custom Build Activity TF215097 error

孤街醉人 提交于 2019-11-27 17:32:46
问题 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

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

做~自己de王妃 提交于 2019-11-27 17:16:20
Can anyone tell me how to revert (roll back) a checkin in TFS 2010? Ed Blankenship 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 Visual Studio Online , rollback is now built-in directly to Source Control Explorer and when

Dependency management with TFS 2010

妖精的绣舞 提交于 2019-11-27 15:17:42
问题 What is the best way to manage dependencies with TFS 2010 ? EDIT: I would like to know if there is a system such as Maven or NuGet which allows to easily manage dependencies of .dll (externals or created by our team) inside TFS 2010. However we face the problem that we want to be able to modify the code of our dll and test in real time if they work (without publishing a new package). 回答1: It's actually pretty easy to invoke NuGet as a pre-build step. You can override the BeforeBuild target in

Moving a Team Project from one Collection to another

三世轮回 提交于 2019-11-27 13:40:01
问题 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... 回答1: 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

How to create a test run and result using the Team Foundation Server API?

情到浓时终转凉″ 提交于 2019-11-27 12:28:49
I have found several samples about retrieving test results using the TFS API, but no documentation on creating results programmatically. My aim is to create a lightweight alternative to using Microsoft Test Manager for running manual tests. Does anyone have experience with this? Are there any examples out there that I'm missing? Here's what I have so far: ITestCaseResult CreateNewTestCaseResult(ITestSuiteEntry testCaseEntry) { var run = testCaseEntry.TestSuite.Plan.CreateTestRun(false /* not automated */); run.AddTest(testCaseEntry.TestCase.Id, suiteEntry.TestSuite.DefaultConfigurations[0].Id,

Could not load file or assembly 'Microsoft.TeamFoundation.WorkItemTracking.Client.Cache' or one of its dependencies

非 Y 不嫁゛ 提交于 2019-11-27 12:18:25
问题 I am working on a web application which interacts with TFS. When I upload my application to windows azure cloud I am getting this error message . appreciate your inputs to resolve this issue. pasted below is the error message I am receiving Server Error in '/' Application. -------------------------------------------------------------------------------- Could not load file or assembly 'Microsoft.TeamFoundation.WorkItemTracking.Client.Cache' or one of its dependencies. An attempt was made to

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

徘徊边缘 提交于 2019-11-27 12:17:17
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. Sachin Kainth 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/downloads/platform.aspx . Once you have installed it (it is only 2MB) you need to search for "MVC",

TFS msbuild args /p:DeployOnBuild=true doesn't seem to do anything

空扰寡人 提交于 2019-11-27 11:20:30
问题 I'm currently using TFS and the regular build process activity to build a solution. However, I'd like to be able to automate deployment so I can build and deploy remotely to a server in one step. On the MSBuild arguments I am trying to specify the deployment switch. My project is a windows service, but I understand it is still possible to deploy any binaries regardless of the project type (not being a web project). Current build parameters: /p:DeployOnBuild=True /p:UserName=user /p:Password