tfs2017

How to promote a child branch as the Trunk branch in Team Foundation Server

不羁的心 提交于 2019-12-01 12:55:31
In Team Foundation Server we have several child branches and a Trunk branch. But now we need to promote a child branch as the Trunk branch and discard the current Trunk branch. Furthermore, we need to maintain the history of both the previous Trunk branch and the child branch. PS: We cannot merge the current Trunk branch and child branch due to huge conflicts all over the project. Please go through the visual representation as well: Even without knowing the entire context, this doesn't look like a good branching strategy in your environment. You want to reparent to other branch, you must set a

TFS 2017 : Clone/Copy a Collection on the Same TFS Server

不问归期 提交于 2019-12-01 12:37:30
问题 I would like to create a clone/copy of our production Collection on the same TFS Server to use as a sandbox/dev environment. Restoring a backup of the Collection and renaming it is easy enough, but I know there will be GUID conflicts (and probably other conflicts as well) when I try to attach the Collection. Is there anyway around this? Or do I just need to procure a new server with a separate TFS instance? Thanks in advance! 回答1: General answer is NO. But it is possible if not both

TFS 2017 Release Management: How to display parent PBI for Tasks under Release

别等时光非礼了梦想. 提交于 2019-12-01 01:47:54
Is there any way to show the parent PBI for a Task Work item under Release in the list under TFS2017? The screenshot below shows two tasks associated with Release-3. Here I wish to be able to display the parent PBI for each of them. Either by expanding them or just by displaying an additional column with link to the parent PBI I appreciate your help Edit: I know that that there is a possibility to create a query on TFS. The problem is that I need to display the information on the parent Work item that are related to a specific Release so the user can use them for reporting. I tried to to

Cant create TFS Work Items, Denied Access to registry key that doesn't exist

霸气de小男生 提交于 2019-11-29 16:53:56
I created a GIT repository on GitHub, then created a TFS Project with Git scm and Agile process template, then I chose Import Repository and specified the GitHub URL. After the TFS Project was created I see an error message in Team Explorer: Access to the registry key 'HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\15.0_8708a912\WorkItemTracking\TeamMenu\AddWorkItemMru\TFSServer01\XYZProjectCollection\64c06df7-220f-433c-b7d6-6a59426340e1' is denied. I get a msgbox with the same error when I try to create work items. The symptom of the problem is not the root cause; the registry key doesn't

TFS 2017 - how build/deliver only changed files?

試著忘記壹切 提交于 2019-11-29 16:13:54
I'm using TFS 2017, and regarding to title I found a term: Incremental build - but, I can not find out where to set it. I tried to add Incremental parameter in ' build parameters' (/p:IncrementalBuild=true) but always got error which says that this is wrong parameter. Is possible to deliver (or build and deliver) only changed files? If you want to have an incremental build. When you add a Visual Studio Build / MSBuild task to build the project, just uncheck the Clean option. Thus it will sync the source and only get the changed files from the second time to build. See Build task Arguments for

TFS: Best way to trigger build on server restart, or on Windows Updates installation

心不动则不痛 提交于 2019-11-29 16:00:40
In short, the requirement is to verify that our latest released software can be built and then installed after the latest Windows updates and/or other patches were applied. So the build server VM(s) will be configured just for this purpose and the build only needs to run after an update. Since such updates usually are followed with a restart, I am thinking of a server restart event triggering a build and deployment. Does such option exist in TFS 2017? If there is no way to do it through TFS then, I guess, a PowerShell script that runs on startup should work? No such a build-in function to

How do I query a file on FTP server in PowerShell to determine if an upload is required?

末鹿安然 提交于 2019-11-29 12:45:34
The project is an MVC website coded and built using VS2017 and (on premises) TFS2017. The Build Definition is currently working and publishing to the staging location upon check-in. The PowerShell script below, derived from David Kittle's website , is being used but it uploads all files every time. I abbreviated the listing using comments to focus on the part of the script for which I'd like to ask for help/guidance. # Setup the FTP connection, destination URL and local source directory # Put the folders and files to upload into $Srcfolders and $SrcFiles # Create destination folders as

Cant create TFS Work Items, Denied Access to registry key that doesn't exist

折月煮酒 提交于 2019-11-28 11:33:45
问题 I created a GIT repository on GitHub, then created a TFS Project with Git scm and Agile process template, then I chose Import Repository and specified the GitHub URL. After the TFS Project was created I see an error message in Team Explorer: Access to the registry key 'HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\15.0_8708a912\WorkItemTracking\TeamMenu\AddWorkItemMru\TFSServer01\XYZProjectCollection\64c06df7-220f-433c-b7d6-6a59426340e1' is denied. I get a msgbox with the same error when

TFS 2017 - how build/deliver only changed files?

不打扰是莪最后的温柔 提交于 2019-11-28 09:43:52
问题 I'm using TFS 2017, and regarding to title I found a term: Incremental build - but, I can not find out where to set it. I tried to add Incremental parameter in ' build parameters' (/p:IncrementalBuild=true) but always got error which says that this is wrong parameter. Is possible to deliver (or build and deliver) only changed files? 回答1: If you want to have an incremental build. When you add a Visual Studio Build / MSBuild task to build the project, just uncheck the Clean option. Thus it will

How do I query a file on FTP server in PowerShell to determine if an upload is required?

。_饼干妹妹 提交于 2019-11-28 06:12:52
问题 The project is an MVC website coded and built using VS2017 and (on premises) TFS2017. The Build Definition is currently working and publishing to the staging location upon check-in. The PowerShell script below, derived from David Kittle's website, is being used but it uploads all files every time. I abbreviated the listing using comments to focus on the part of the script for which I'd like to ask for help/guidance. # Setup the FTP connection, destination URL and local source directory # Put