tfsbuild

VSTS Developer Tools Build Tasks Error: Part URI is not valid per rules defined in the Open Packaging Conventions specification

懵懂的女人 提交于 2020-01-17 06:42:30
问题 I'm getting following error when executing VSTS Developer Tools Build Tasks, I have included extension manifest, Please help me to resolve this. error: Failed Request: Bad Request(400) - Part URI is not valid per rules defined in the Open Packaging Conventions specification. tfx failed with error: Error: C:\agent_work_tools\tfx.cmd failed with return code: 4294967295 – <PackageManifest Version="2.0.0" xmlns="http://schemas.microsoft.com/developer/vsx-schema/2011"> <Metadata> <Identity Id=

Best practice for automating Php project builds using Visual Studio Ultimate/Online and Git

有些话、适合烂在心里 提交于 2020-01-17 03:12:10
问题 We have an existing Php application that I'd like to integrate into my very simple MS Build process. Currently we are using Visual Studio 2013 Ultimate with Visual Studio Online (TFService) and Git to source control various C++, C# and this Php web applications (all in different Git repositories). To develop our Php code inside of VS2013, we use Devsense's Php Extension (http://www.devsense.com/products/php-tools). This has been great, but doesn't natively support automated builds. Has anyone

Nuget Restore in MS Build Step

随声附和 提交于 2020-01-17 00:46:32
问题 In my asp.net web application, i have solution with 5 projects and nuget.org. In TFS Build Definition, 1) While building the whole solution in Visual Studio Build Task Nuget packages getting restored. 2) While trying to generate executable files for individual projects in MS Build Task If I select Restore Nuget packages, It's not finding nuget packages and step getting failed with message - "Process 'NuGet.exe' exited with code '1'." I have tried many references online and none worked. Any

TFS 2010 Build, constant drop location, random access issue

若如初见. 提交于 2020-01-15 07:15:08
问题 We are using TFS 2010 Build to deliver libraries on a fixed location. ( \\server\product-R0\latest ) Other team projects reference the library from this location. On my build process I check if Build and unit tests passed, if it's ok I: Transform web/app.config Delete the latest folder using a "DeleteDirectory" activity Create the latest folder using a "CreateDirectory" activity Copy the binaries in the folder using "CopyDirectory" activity I delete the folder first because if we rename an

Build for multiple configurations in TFS Build

别等时光非礼了梦想. 提交于 2020-01-15 05:15:08
问题 Is it possible to make TFS Build 2017 to build binaries for all this configuration combinations: VS2015, VS2017 Win32, x64 Debug, Release Do I have to make a build step for each of this combinations, or can I use some sort of magic to do everything in a simple way. 回答1: You need to enable Multi-configuration in Options tab of build definition. Article: How do I build multiple configurations for multiple platforms? After that, it will split configurations to multiple builds during the build.

Retrieving path to solution(s)?

南楼画角 提交于 2020-01-15 03:18:17
问题 We are currently setting up Team Build 2010 for our company, and I am trying to use workflow activities to retrieve the exact local path to the current solution being built. I haven't found a way to get this value, does anybody know how (without writing a custom activity)? Either one of server or local path would suffice (i.e $/TeamProject/Branch/OurProject or C:\TeamBuild\src\path\to\branch\OurProject ) since we can use the conversion activities on the server item. The reason we need this

How to link to latest build on Visual Studio Team Services

亡梦爱人 提交于 2020-01-15 01:48:47
问题 Latest Team Foundation Server and Visual Studio Team Services can generate a build status badge. BTW, I don't find how can I link it to a public build details of latest build (or even other past builds). For example, my build status badge is this one: For example, I've another old project hosted on GitHub and it has CI with Travis, and I both have a build badge and a build summary: https://travis-ci.org/mfidemraizer/joopl/builds I'm just asking for getting this summary on Visual Studio Team

VS 2017 Build Tools failing with Error MSB4019: The imported project “D:\Microsoft.Cpp.Default.props” was not found

自闭症网瘾萝莉.ら 提交于 2020-01-14 04:29:36
问题 I'm building a new TFS build server and decided to use the VS 2017 Build Tools instead of installing the full versions of VS. When I attempt to build our C++ projects, it throws the following error: Error MSB4019: The imported project "D:\Microsoft.Cpp.Default.props" was not found. After many hours of research I'm no closer to resolving this issue. I tried adding the following registry settings but it did not help. Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft

Missing tasks in VSTS

旧时模样 提交于 2020-01-11 13:27:29
问题 I am currently trying to a build definition on VSTS. I am using Hosted agent, but for some reason it seems i am missing a lot of built in tasks. I am missing several of the tasks below. I want to deploy my application after running build and test, but the IIS Web Application Deployment is not available, any suggestions? Do i need to create my own powershell script to deploy? According to this link, the task might not be live yet? But this is a pretty old issue, so not sure if the information

TFS 2015. the $(var.SourceLocation) variable is not available at gated-check in

时光怂恿深爱的人放手 提交于 2020-01-07 05:14:09
问题 We are migrating from old XAML build definition to new TFS 2015 build. In old we have gated-check in that is working fine. In new one we have such option on "Triggers" tab. However I want use commit ID that trigger build. The variable $(Build.SourceVersion) is responsible for this, but for gated-check in it is not being set. It looks right, because commit was not accepted by TFS yet. The question is how to grab this commit ID either during gated-check in or following CI ? Should I create just