tfsbuild

When my TFS build is triggered by a branch-specific check-in, why doesn't it set that branch as its source?

♀尐吖头ヾ 提交于 2020-06-01 06:55:08
问题 My goal is to create a TFS CI Build that is triggered by check-ins on two specific branches of a project, hosted in TFVC. When I queue the build manually and type a specific branch in the "Shelveset name" field of the queue prompt, the build works as intended. However, when I check in changes from one specific branch, the build attempts to use the parent folder of the two branches as its default source, resulting in incorrect file paths throughout the build definition wherever I use the $

Build/Publish .NET Core 3.x application with TFS 2018 Update 3.2

余生颓废 提交于 2020-06-01 06:53:46
问题 I have an application that uses .NET Core 3.1 but in .NET Core Build and Publish tasks, the dropdown menu offers only 'til 2.x version. How am I supposed to use them or what workaround instead? Simple CLI? Thanks in advance @Patrick .NET Core Task is this right? But how should be that different compared to Restore/Build/Publish that are aldready set up in .NET Core pipeline? If that so, I guess I just need to set the command with my custom publish value: dotnet publish myPath -c release -f

TFS Custom Build Tasks - Multiple versions

落爺英雄遲暮 提交于 2020-02-04 22:56:59
问题 I need to make changes to a custom TFS build task. I'd like to bundle the new version of the task in my extension (leaving the current version in as well) and be able to select the version when editing a build/release definition. I've looked over Microsoft's documentation for bundling multiple versions of a build task within one extension, but I'm not seeing the details of what needs to be included in the extension manifest. I've also looked at the VSTS Tasks on github and I'm not seeing how

Where is the TFS build process going?

送分小仙女□ 提交于 2020-02-04 01:34:09
问题 Im having a hard time figuring out what the best approach is when designing my build process. It seems Microsoft have turned things around (again). I am using TFS 2015 and Visual Studio 2015. For earlier versions of TFS I have normally created custom code activities that I plug in to my build definition process file (xaml). I like this approach because it gives me great flexibility and enables me to code .NET classes. I used these guides: https://msdn.microsoft.com/en-us/library/dd647551(v=vs

Msbuild and SVN update

懵懂的女人 提交于 2020-01-29 14:28:23
问题 I want to write a simple task which will update and commit source code that was Nightly build to SVN. I was on the msbuildtasks.tigris.org page, and downloaded the dll's but I have no idea how to write it. Could you please provide some basic samples? 回答1: Here is an example (taken from the MSBuild Community Tasks Build) that does exactly that: <ItemGroup> <CommitFiles Include="www\index.html" /> <CommitFiles Include="www\MSBuild.Community.Tasks.Nightly.zip" /> <CommitFiles Include="www

Deploy generated files in TFS Build Server

二次信任 提交于 2020-01-23 19:00:46
问题 We use TFS Build Server on continuous integration. The result of build is web application which is deployed with Publish functionality integrated with MSBuild. We generate on build server, before build starts (Pre-build event), a minimized JavaScript files, which are copied in source directory on build machine. Sadly these aren't published in IIS, either are in Published Web Sites folder. How can wen accomplish this with Publish possibilities in TFS? What we tried: We tried change the

TFS Build Controller : “Could not load file or assembly 'Microsoft.WindowsAzure.StorageClient, Version=1.7.0.0”

↘锁芯ラ 提交于 2020-01-23 00:42:48
问题 As you know that your TFS Preivew does not support for Azure SDK 1.8 so We are using On-permises TFS build controller to build our project. During Azure Continous Inegration deployment build we are getting this error ======================================== Exception Message: Could not load file or assembly 'Microsoft.WindowsAzure.StorageClient, Version=1.7.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The system cannot find the file specified. ===========

Build Agent is Offline

孤者浪人 提交于 2020-01-23 00:30:15
问题 I m using TFS 2015, I saw that my build Agent is Offline : I launch the VsoWorker.exe to see the logs and understand the error, Here is what I get but I found nothing from the internet : Any Idea please ? 16:07:57.649004 Sending trace output to log files: C:\Users\Administrator\Downloads\agent\_diag 16:07:57.649004 vsoWorker.exe was run with the following command line: "C:\Users\Administrator\Downloads\agent\Agent\Worker\VsoWorker.exe" 16:07:57.649004 VsoWorker.Main(): Create AgentLogger 16

Build Agent is Offline

别说谁变了你拦得住时间么 提交于 2020-01-23 00:30:14
问题 I m using TFS 2015, I saw that my build Agent is Offline : I launch the VsoWorker.exe to see the logs and understand the error, Here is what I get but I found nothing from the internet : Any Idea please ? 16:07:57.649004 Sending trace output to log files: C:\Users\Administrator\Downloads\agent\_diag 16:07:57.649004 vsoWorker.exe was run with the following command line: "C:\Users\Administrator\Downloads\agent\Agent\Worker\VsoWorker.exe" 16:07:57.649004 VsoWorker.Main(): Create AgentLogger 16

.testsettings deployment section gets ignored in TFS build

半腔热情 提交于 2020-01-17 07:45:43
问题 I have a solution with bunch of C# projects with bunch of tests. Some of these tests require few native dlls (provided by related nuget packages). To address this .testsettings file was created that is copying dlls (that nuget coped to $(OutDir)) to test directory before running tests. All this works fine on local machine, but when executed under TFS Build 'deployment' section of .testsettings file (or maybe entire file) gets ignored -- these dlls never materialize in test directory (nor