tfsbuild

How to prevent TFS from deleting shelvesets that were checked in via a queued build?

不想你离开。 提交于 2020-01-07 02:56:06
问题 Checking in shelvesets is a nice feature of the build system in TFS, but the shelveset is deleted after the build finishes. Is there a way to change this behavior so that the shelveset is preserved? I use the build+check in shelveset feature all the time to check in code from teammates, but sometimes I don't want the original shelveset to be deleted by TFS. In some situations, this can cause problems, like when the shelveset is associated with a code review work item. In that case, all

TFS 2010 and creating a package

允我心安 提交于 2020-01-06 09:05:22
问题 I am running the build with the flags /p:CreatePackageOnPublish=true /p:DeployOnBuild=True The agent creates a the folder: C:\Builds\99\MyWebProject\Sources\WebProj\Web\obj\Debug\Package\PackageTmp that is used when the package is deployed. However, this folder does NOT have the files that are not in source control but are created during the post build event. I'd like these files to be included in the package as well (but can't add them to the source control as they are created later). How do

TFS 2010 and creating a package

女生的网名这么多〃 提交于 2020-01-06 09:05:08
问题 I am running the build with the flags /p:CreatePackageOnPublish=true /p:DeployOnBuild=True The agent creates a the folder: C:\Builds\99\MyWebProject\Sources\WebProj\Web\obj\Debug\Package\PackageTmp that is used when the package is deployed. However, this folder does NOT have the files that are not in source control but are created during the post build event. I'd like these files to be included in the package as well (but can't add them to the source control as they are created later). How do

Continuous deployment of DocFx documentation using on-premises TFS

喜夏-厌秋 提交于 2020-01-06 03:50:06
问题 I am struggling to set up a continuous deployment process for a DocFX project, using on-premises TFS. The process is described here, however the example walk-through is for VSTS, and I have on-premises TFS (version 2013). The basic idea is to build and deploy the documentation website on every checkin. The DocFx Build Tasks extension that the process uses does appear to support on-premises TFS ... I just can't see how to get it working! I have a VS solution containing a single C# project

TFS 2010 - merge changesets

感情迁移 提交于 2020-01-05 08:52:32
问题 In TFS 2010, the scenario is to merge the selected changesets via tf command line. Suppose there were 20 changesets which is to be merged from branch to main folder. I am using the tf command line to merge all the 20 changesets. If there is a conflict in any of the changeset, email should be triggered to the person who checked-in the changesets. Is there is anyway to send an email to the person who checkin the changeset? 回答1: I think your only resort is to write an application that will take

Checkout files in Teambuild (TFS2010)

百般思念 提交于 2020-01-05 04:48:13
问题 I've modified the default template to run some custom activities in the build process. In the build process some CodeAnalysisRuleset files are created and shall be assigned to the corresponding c# projectfiles. I have implemented two code activies to create (first activity) and assign the rulesets (second activity). If I run the teambuild, an exception happened ("access denied"). I looked in the source folder on the build agent and the files are readonly. The two code activities are placed

How does the build Agent Folder work on the Edit Build Workspace?

▼魔方 西西 提交于 2020-01-04 17:53:54
问题 My build cannot pick up some of the projects in my application. They are stored in their own projects in TFS source control. I group them together in the Edit Build workspace; These are the mappings: The Build Agent folder does not let me simply put $(SourceDir) . What is the impact of appending a folder name at the end as above? How do I get the Build Agent to pick up the projects from the correct folder locations? Currently I get these error messages; 8 error(s), 3 warning(s) $/STAS

How does the build Agent Folder work on the Edit Build Workspace?

早过忘川 提交于 2020-01-04 17:53:31
问题 My build cannot pick up some of the projects in my application. They are stored in their own projects in TFS source control. I group them together in the Edit Build workspace; These are the mappings: The Build Agent folder does not let me simply put $(SourceDir) . What is the impact of appending a folder name at the end as above? How do I get the Build Agent to pick up the projects from the correct folder locations? Currently I get these error messages; 8 error(s), 3 warning(s) $/STAS

TFS 2015 Build log displaying associated changes from other project

早过忘川 提交于 2020-01-04 03:55:06
问题 I am pretty confused over this. My build log is displaying the build result but in the Associated changes & Associated work items area it's displaying all the list form every other projects. For example, I am the only developer working on a small project and I get the below Build log for my build where the blue coded changeset is my project and Red & Green changesets are different projects by different teams Any clue anyone? 回答1: Thanks to @DaveShaw the solution is as follows. Initially my

TFS Build Fail when running for TFS-GIT Repository

一世执手 提交于 2020-01-04 02:27:08
问题 I am using VS2015 & TFS2013. I have a GIT repository on TFS which has got a web application and I am trying to publish that using TFS build. I created a build for deploying that web application which fails. Here is the full error message : Cloning repository 'http://localhost:8080/tfs/defaultcollection/GitTest/_git/GitTest' into 'C:\Builds\2014\GitTest\TestGitBuild\src'. **Exception Message: Response status code does not indicate success: 404 (Not Found).** (type LibGit2SharpException)