team-build

TFSBuild.proj and Importing External Targets

六眼飞鱼酱① 提交于 2019-12-01 01:20:22
问题 We want to store our overridden build targets in an external file and include that targets file in the TFSBuild.proj. We have a core set steps that happens and would like to get those additional steps by simply adding the import line to the TFSBuild.proj created by the wizard. <Import Project="$(SolutionRoot)/libs/my.team.build/my.team.build.targets"/> We cannot have an import on any file in the $(SolutionRoot) because at the time the Import statement is validated, the source has not be

TFS build duration report by agent

不打扰是莪最后的温柔 提交于 2019-12-01 00:06:28
I'm trying to build a report to show the relative efficiency of my various build agents and having trouble getting the info I need out of the tool. What I'd like to have is a simple grid with the following columns: Build Number Build Definition Build Agent Build Status Build Start Time Build Duration Which would let me do something like chart the duration of successful builds of a given build definition on agent1 against the same build definition on agent2 through agentN. How would I go about this? My initial intention was to point you to TFS OLAP Cube & describe how you could retrieve what

Set application pool with MSDeploy and TFS 2010

末鹿安然 提交于 2019-11-30 21:12:25
I'm trying to deploy website with MSDeploy and team build using some of this ... /p:DeployOnBuild /p:DeployTarget=MsDeployPublish /p:CreatePackageOnPublish=True /p:MSDeployPublishMethod=InProc /p:MSDeployServiceURL=localhost /p:DeployIISAppPath="Default Web Site" Is there a way to set this website in custom application pool? csm8118 If you're using IIS 7, you can use the appPoolProvider to sync application pools to a remote server. See: http://technet.microsoft.com/en-us/library/dd569070(WS.10).aspx and http://blog.torresdal.net/2010/08/16/NoClickWebDeploymentPart2WebDeployAkaMsdeploy.aspx

how to prevent an Gated Check-In to put the Keyword ***NO_CI*** in the Comment

久未见 提交于 2019-11-30 17:26:42
This Question is related to my Question Combining “Gated Checkin” and “Continuious Integration” Builds in Team Foundation Server I Posted this Morning Thanks to @pantelif I know that after a Gated Checkin Build build Continuous Integration Builds are prevented to be triggered as an (in mostly cases) expected behavior. The Team Foundation Server adds to the Check-In Comment the Keyword ***NO_CI*** to do that. In the Question you find here there is discribed that someone accidentally turned off adding this Magic Phase. What I want is triggering Continuous Integration Builds as an expected

Unable to determine the workspace using TF.exe

隐身守侯 提交于 2019-11-30 17:08:27
I have this script (bat file) tf workspaces /s:http://project02:8080 tf workspace /s:http://project02:8080 Team.descomp;MyDomain\Myuser tf workfold /workspace:Team.descomp tf get $/Team/Main/Projects /recursive /force /noprompt I get this error: Unable to determine the workspace., when I try execute tf get. Console output is similar like: Server: project02 Workspace: DESCOMP Owner : MyUser Computer : DESCOMP Workspace: Team.descomp Owner : MyUser Computer : DESCOMP ... Workspace: Team.descomp (MyUser) Server : http://project02:8080/ $/Team: C:\Temp\Team2 ... Unable to determine the workspace.

Why does Tfs2010 build my Wix project before anything else?

 ̄綄美尐妖づ 提交于 2019-11-30 11:49:59
A similar question was asked and answered about a year ago, but was either a different issue (everything was in beta) or misdiagnosed. It's located here: MSbuild task fails because "Any CPU" solution is built out of order . My issue is that I have a wix installer project, and after upgrading to Tfs2010 on monday, the build fails on linking because it can't find the build product of the Wpf application in the project. After some digging, it's because it hasn't been built yet. Building in Vs2010 works as normal. The wix project is set to depend on the Wpf project, and when viewing Project Build

How can I copy a TFS 2010 Build Definition?

半城伤御伤魂 提交于 2019-11-30 08:21:43
Is there any way to copy a build definition? I work in a mainline source control methodology which utilizes many different branches that live for very short periods (ie. a few days to a week). I'd really like to copy a build template and just change the solution to build. Is there any way to do this? You can write an add-in to do it. Here's the code to copy an existing build definition: static IBuildDefinition CloneBuildDefinition(IBuildDefinition buildDefinition) { var buildDefinitionClone = buildDefinition.BuildServer.CreateBuildDefinition( buildDefinition.TeamProject); buildDefinitionClone

How to deploy Windows Service projects with Team Build 2010

六眼飞鱼酱① 提交于 2019-11-30 07:18:08
I have a VS2010 solution, which includes several Windows Service projects. I need to deploy these services as part of a build in Team Build 2010, and the Windows Services have to be deployed on several Windows Server machines. How can I do this? You could conditionally invoke the SC.exe command from your Windows Service project file (*.csproj) to install the Windows Service on a remote machine. Here's an example: <PropertyGroup> <DeployWinService>false</DeployWinService> <WinServiceName>MyService</WinServiceName> <TargetWinServiceHost Condition="'$(TargetWinServiceHost)' == ''">localhost<

Set application pool with MSDeploy and TFS 2010

生来就可爱ヽ(ⅴ<●) 提交于 2019-11-30 05:20:28
问题 I'm trying to deploy website with MSDeploy and team build using some of this ... /p:DeployOnBuild /p:DeployTarget=MsDeployPublish /p:CreatePackageOnPublish=True /p:MSDeployPublishMethod=InProc /p:MSDeployServiceURL=localhost /p:DeployIISAppPath="Default Web Site" Is there a way to set this website in custom application pool? 回答1: If you're using IIS 7, you can use the appPoolProvider to sync application pools to a remote server. See: http://technet.microsoft.com/en-us/library/dd569070(WS.10)

Unable to determine the workspace using TF.exe

六月ゝ 毕业季﹏ 提交于 2019-11-30 00:34:14
问题 I have this script (bat file) tf workspaces /s:http://project02:8080 tf workspace /s:http://project02:8080 Team.descomp;MyDomain\Myuser tf workfold /workspace:Team.descomp tf get $/Team/Main/Projects /recursive /force /noprompt I get this error: Unable to determine the workspace., when I try execute tf get. Console output is similar like: Server: project02 Workspace: DESCOMP Owner : MyUser Computer : DESCOMP Workspace: Team.descomp Owner : MyUser Computer : DESCOMP ... Workspace: Team.descomp