tfsbuild

How do I make a TeamCity build appear in the TFS Build Explorer?

别等时光非礼了梦想. 提交于 2019-12-05 02:43:09
We are using TFS 2010 for source control and project management, and TeamCity 6.0 for performing builds and build reporting (CI and daily deployments for testers). Setting up TFS source labeling in TeamCity to match the build number was very straightforward, but I cannot find a way to link this back to TFS Build Explorer. We want link these to be able to assign bugs to particular builds through TFS for the daily tester deployment builds. I don't know if you can, at least without some heavy VSX work or direct manipulation of the database, get the TeamCity builds to show up in the TFS Build

On Premise Gated Check-in Fails with “The shelveset … could not be found for check-in”

非 Y 不嫁゛ 提交于 2019-12-05 02:24:38
I am having an issue with the new TFS 2015 Update 2 Gated Builds. After attempting a check-in the gated build queues just fine, every part of the build is successful until it reaches the last step of "Check in gated changes". When I look at the log for that step I get: [Error]The shelveset _Build_5427;Build\ad8fe058-f936-4908-91de-57e7bc6a2f9d could not be found for check-in When I look at the 'Get Sources' log, I see: 2016-04-01T19:11:12.3062092Z tf get /version:C6213 2016-04-01T19:11:13.2125013Z tf shelve _Build_5427 /replace 2016-04-01T19:11:13.3218610Z Successfully created new shelveset

MS Deploy task failed DeploymentBaseOptions does not contain a definition for UserAgent

…衆ロ難τιáo~ 提交于 2019-12-05 02:15:53
I am having trouble running a Team Foundation 2013 build with MS Build parameters for deployment and I am getting an error : C:\Program Files (x86)\MSBuild\Microsoft\VisualStudio\v12.0\Web\Microsoft.Web.Publishing.targets (4255): Web deployment task failed. ('Microsoft.Web.Deployment.DeploymentBaseOptions' does not contain a definition for 'UserAgent') Development is being done in VS 2013. What is strange is that if I copy the MSBuild folder * ..\v11.0\Web* to the * v12.0\Web* The build works and does the deployment. I have already checked the v12.0\Web\Microsoft.Web.Publishing.targets file

TFS2008 to TFS2010 migration upgrade

蹲街弑〆低调 提交于 2019-12-05 01:35:25
问题 All, I'm currently in the process of attempting to create a repeatable process for the upgrade of a TFS 2008 installation to new hardware in what Microsoft call a migration upgrade, but am experiencing issues when building the VS 2008 projects on the new hardware. Our TFS 2008 installation consists of two machines; one which houses the SQL databases and Application Tier, and the other which acts as a dedicated Build Server. The new hardware for our TFS 2010 installation consists of two

Build issue when using package restore in Team Foundation Service

喜你入骨 提交于 2019-12-05 00:01:47
I'm trying Microsoft Team Foundation Service ( the Cloud TFS ) and using automated hosted build and package restore. It always fails, but according to log it seems that the package restore works fine but it's a problem when locating the binaries we got through the package restore, it's like it doesn't look into the right folder. LOG: Build started 4/9/2013 10:24:37 AM. Project "C:\a\src\ValuePlan.Client.sln" on node 1 (default targets). ValidateSolutionConfiguration: Building solution configuration "Release|x86". Project "C:\a\src\ValuePlan.Client.sln" (1) is building "C:\a\src\VP\VP.csproj"

build definition – only empty queue

こ雲淡風輕ζ 提交于 2019-12-04 22:45:06
问题 If I am creating a build definition, I can’t choose a Default agent queue. Not so long ago, I can create build definition which includes the default queue. I don’t know what the change was, that it doesn’t work anymore. If I go to edit a correct created build definition and then I try again to create a definition, I can choose the default queue. What is the reason for that? Editing an existing build definition before creating isn’t the solution, because I have many projects and some have a

Could not get dependencies for project reference

折月煮酒 提交于 2019-12-04 22:17:57
I have a C# solution with a website project and a C# library. When compiling the solution, the website gives the message: Could not get dependencies for project reference 'MyLibrary'. This does not stop the wbsite compiling and running until I try and build it with a TFS build, when this error message fails the build. What does this mean and how can I get round it? Open the Website proj file in notepad and check the reference etc... can help After trying many things, I realized something. The error was never going away, no matter what I did to clear the builds and such. I closed and reopened

How can one determine if a csproj is being run on a TFS build agent?

ぐ巨炮叔叔 提交于 2019-12-04 18:25:53
问题 We use TFS 2010. There are a couple of projects with deployment steps which must know whether they are running on a dev machine or on the TFS build agent. Right now they check whether the build is from within Visual Studio assuming that only devs compile from VS. Alas, it means I cannot compile from the command line! So, my question is how an msbuild script can determine if it is being run by the TFS build agent? 回答1: You have a few options: '$(BuildingInsideVisualStudio)' != '' '$

Connect to external services inside Visual Studio Online build/test task

坚强是说给别人听的谎言 提交于 2019-12-04 14:03:08
We are running our build and test process on TFS Online. This works fine, until we try to connect to an external service. In our case a SQL Database. The discussion about what we should mock and not is not really helpful in this case, as currently we need to do this. We also tried just a simple ping, but not even that is getting out: Test-Connection "172.217.18.100" #resolves to www.google.com Testing connection to computer '172.217.18.100' failed: Error due to lack of resources So we have the impression that most outside IP's/Ports/etc. could be locked? Is there a way to open this up? If yes,

Set Wix property to TFS build location

…衆ロ難τιáo~ 提交于 2019-12-04 11:53:49
问题 I have been trying to find an answer to my question and could not find it; hence I will put the solution here. I hope it is helpful to others. Problem: I want my Wix project to build in TFS 2010 build process. As part of this, I want the source files location for my Wix to point to the build location of the TFS. For example, I want: <File Id="ABC" KeyPath="yes" source="C:\Builds\1\MyBuild\assembly.dll" /> to be: <File Id="ABC" KeyPath="yes" source="$(var.TFSLOCATION)\assembly.dll" /> The