tfs2012

Unable to merge branch in in-house TFS GIT from Visual Studio 2013

扶醉桌前 提交于 2019-12-11 03:59:48
问题 I've looked around SO and either can't find an answer close to my question or don't fully understand the answers being explained. I am having an issue trying to merge a development branch into the master branch (both origin branches) I receive the error 2 uncommitted changes would be overwritten by merge I have switched branches in an attempt to commit these 2 changes, though don't have any. There are no changes to commit on my master. I wasn't sure if it was perhaps related to a developer

TFS - Set a branch to allow check ins of “Merge” changeset only

社会主义新天地 提交于 2019-12-11 03:45:51
问题 In the company I work for we have a Release branch from which we publish versions to production. I want to prevent a situation where someone checks in changes made in that branch directly without the changes were synced from the development branch. Is there a way where I could set the Release branch to allow check-ins for change-sets which are of "Merge" type only? By this I could ensure the change-set was originated from the development branch and achieve my goal in addition to preventing

TFS 2012 - TF400013: An unexpected database error occurred

◇◆丶佛笑我妖孽 提交于 2019-12-11 03:45:48
问题 I have critical problem: I have a TeamProjectCollection. In this collection i had a project. And i need re-create project with same same. I delete this project and create project again. After this i get next error on TFS: This error apear whe i try to open any project from this collection. How can i fix this? 回答1: Probably too late to help OP, ... But for any others running into this 'TF400013: An unexpected database error occured' here is how I resolved it on my TFS2013 system. Launch the

TFS Migration from 2012 & 2017 to 2017

强颜欢笑 提交于 2019-12-11 03:39:41
问题 We have to upgrade TFS version from 2012 to 2017. The problem we are facing is we have some team projects in TFS 2017 lower environment and some team projects are in 2012 production instance. We want to migrate 2012 team projects and 2017 team projects to a new TFS 2017 production instance under one team project collection. We need some help in defining the upgrade/migration strategy keeping this scenario in consideration. Please let us know if someone can lend help. 回答1: It supports to move

TFS2012 Task work item definition - Update 'Remaining Work' with 'Original Estimate' whenever 'Remaining Work' is empty

谁都会走 提交于 2019-12-11 03:35:59
问题 On vs2013: tools > process editor > work item types > open WIT from server. By editing the Task work item rules, I have come out with the following xml item definition: <FieldDefinition name="Remaining Work" refname="Microsoft.VSTS.Scheduling.RemainingWork" type="Double" reportable="measure"> <WHENCHANGED field="Microsoft.VSTS.Scheduling.OriginalEstimate"> <COPY for="[global]\Project Collection Valid Users" from="field" field="Microsoft.VSTS.Scheduling.OriginalEstimate" /> </WHENCHANGED> <

Build entire solution for .NET 4 and .NET 4.5 and copy files to specific folders

徘徊边缘 提交于 2019-12-11 03:21:30
问题 Short description of the current situation : We've two solutions with a bunch of general 'helper' libraries. We need all those libraries for .NET 4 and .NET 4.5 since some of our projects that depend on those libraries are running on systems that are not to be touched, meaning we can't put .NET 4.5 on those systems. We've a working build server (TFS2012) that builds all solutions once per night. Currently we get swamped by errors since either the .NET 4 projects or the .NET 4.5 projects can't

TFS Queries - How to determine who created a shared query and when

人盡茶涼 提交于 2019-12-11 02:38:22
问题 We are using TFS 2012 and have hundreds of Shared Queries that have been created over time due to poor oversight. In order to clean these up and provide a common set of shared queries, we'd like to determine who created the queries and when, similar to work item type history. Is there a way to find this information in the TFS UX, using an extension or querying the DB? 回答1: You can find the owner of a query in Team Web by looking at the security of a query, but it doesn't show the create date.

How do I create a workspace with local folder mappings in tfs using C#

家住魔仙堡 提交于 2019-12-11 01:54:01
问题 I am trying to automate to get the latest code from TFS server to local path. The initial step for this is to create a workspace in TFS server if not exist already. How will i create the workspace with local folders mapping to the server folders. 回答1: Use the VersionControlServer.CreateWorkSpace method to create a workspace and set the working folders (use one of the overloads that accepts a WorkingFolder[]. Or update the workspace after initial creation. You can add addtional mappings and

TFS 2012 not copying transformed Web.Config to _PublishedWebsite

妖精的绣舞 提交于 2019-12-11 01:49:53
问题 I have a web project with a config transform. On my local machine, when the project is built, the transform works fine. However, my project is pushed to TFS and built there, the config file is transformed in the main drop folder; However, the version in _PublishedWebsites is the original, un-transformed version. This is causing problems when using Octopack, since it packs everything in the _PublishedWebsites\ folder to deploy, thus, I'm getting an un-transformed file in my deployment Is there

Publish doesn't work from build definition VS2012

心不动则不痛 提交于 2019-12-11 01:43:31
问题 What I thought would be simple is not. All I am trying to do is get MSBuild to copy website files to another server after my build. In my Build definition Under Process --> Advance --> MSBuild Arguments I put /p:DeployOnBuild=true /p:PublishProfile=WebsiteProfile It builds fine but it never copies files to destination BUT when I run this command locally , IT WORKS!!!!! msbuild /p:DeployOnBuild=true /p:PublishProfile=WebsiteProfile I have VS 2012 installed in Build Server so I think all the