tfsbuild

Team Foundation Server 2010 / MSBuild: Error parsing the nested project section in solution file

大城市里の小女人 提交于 2019-12-12 10:30:43
问题 I'm trying to set up a nightly build for one of my company's products. When I execute the build, it fails after 45 or so seconds, giving the error "Error parsing the nested project section in solution file. This is the log from the build: Delete Binaries Directory 00:17 Delete Workspace 00:00 Delete Sources Directory 00:00 Create Workspace 00:18 Get Workspace 00:01 Create Label Label [label] (version W60_2_VMCORPTFS01;CL\me) was successfully created. 00:04 Compile, Test, and Associate

TFS Build doesn't download missing NuGet packages

别等时光非礼了梦想. 提交于 2019-12-12 09:36:36
问题 I've been trying to setup my build server (Team Foundation Service) to automatically download 3rd party libraries and successfully build, but I don't know how to do this. Is there a way ? 回答1: you need to enable package restore for the solution you want to build on the build machine. This is at least what I did to get NuGet to work with Team build. Here's a link about package restore and how to use it during build http://docs.nuget.org/docs/workflows/using-nuget-without-committing-packages

wildcard test containers to mstest. exe

最后都变了- 提交于 2019-12-12 08:23:11
问题 Is it possible to pass wildcard testcontainer values to the command-line mstest.exe rather than manually hardcoding multiple testcontainer values? Such as Mstest.exe /testcontainer: tests .dll I'm wanting to manually invoke mstest in our tfs 2012 upgrade template.xaml build processso tthat it behaves like a autodiscovery way similar to running tests in default template.xaml If not could this be written into a bat script to loop through folders from a given start folder? 回答1: MSTest doesn't

Use Branch Name in TFS 2015 Automated Build

人盡茶涼 提交于 2019-12-12 06:38:19
问题 My TFS repo has the following structure: Project - Dev - 1.0.0_Branch1 - 1.1.0_Branch2 - N.0.0_BranchN The branches are actual branches in TFS. I have an automated CI build set up for this project on a TFS server. The issue I am having is that I need the build name in TFS to use the name of the branch. I have tried a number of the build definition variables listed here , for examle $(SourceBranchName) and and $(Build.SourceBranchName) but all of these are instead using the name of the Project

Visual Studio Online: Multiple build controllers - how to add a new build controller

早过忘川 提交于 2019-12-12 06:38:04
问题 I have multiple projects hosted on Visual Studio Online (Formerly TFS Service) For one of my solutions, I have created a hosted build controller that runs xUnit to run all my unit tests. This works fine as everytime I check in my code, Continuous Integration kicks in, building my solution and runs my tests. This is the build controller popup in Solution A (from VS2012) In the Properties page: Now I'm trying to use nUnit for another Solution B , but I can't seem to figure how I can create

How do I invoke a publish profile in an automated TFS2017 build?

倾然丶 夕夏残阳落幕 提交于 2019-12-12 04:43:31
问题 I have successfully upgraded to VS/TFS 2017, and I am at the point where I want the build to automatically publish a website to a staging location using one of the project's publish profiles. I am impressed with the flexibility in the "Build & Release" section of the TFS Team Project Site, but it's a little overwhelming. This project has 2 simple publish profiles. Both use the 'FTP publish method' to upload to the Go Daddy hosting provider; one deletes all files before upload, the other only

TFS2015: gated check-in build locking files

£可爱£侵袭症+ 提交于 2019-12-12 04:21:13
问题 I'm trying to setup a gated check-in build (vNext) on a TFS2015.3 server. After I check-in a modification the build is triggered. The build runs smooth but the modified files are remaining locked by Project Collection Build Service (TEAM FOUNDATION). From the build logs I can see that the "Check in gated changes" step is performed correctly. If the team project source control has the multiple check-out option disable I'm not able to modify the locked files unless I unlock them or we queue the

TFS server API only list the XAML build definitions

帅比萌擦擦* 提交于 2019-12-12 03:57:00
问题 I am trying to obtain information from TFS2015 build definitions. We have about 100 build definitions in XAML format and about 50 in the new 2015 format. The server is an inhouse Team foundation Server. (Microsoft Visual Studio Team Foundation Server Version 15.105.25910.0) I am not using the rest api but the Microsoft.TeamFoundationServer.ExtendedClient as recommended here : https://blogs.msdn.microsoft.com/buckh/2015/08/10/nuget-packages-for-tfs-and-visual-studio-online-net-client-object

Find Change in CSProj Before Commit without Custom Development

一笑奈何 提交于 2019-12-12 03:56:37
问题 My question is somewhat related to this: Visual Studio 2013 Pending Changes does not include newly added item I have one csproj file that is already checked in. Now somebody add some new file to project like class file or some resource file. As I am working in disconnected to TFS newly added file is not detected as change until I go to source control and add file. Problem is somebody check-in the CSProj file without new file so at build server it get failed because he/she forgot to add newly

Build process template always empty - VS2012 & MS TFS repository

喜夏-厌秋 提交于 2019-12-12 03:54:17
问题 I'm trying to define a new build on TFS using VS2012. When I go to New Build Definition -> Processes I'm seeing "Build process template" and an empty drop down. I click on the "New..." button selects the default template from $/<My Project Name>/BuildProcessTemplates/DefaultTemplate.11.1.xaml and click OK but then I'm getting the error: TF277000: A build process template for '$/<My Project Name>/BuildProcessTemplates/DefaultTemplate.11.1.xaml' already exists for team project <Project Name>.