tfsbuild

Visual Studio 2015 with TFS 2010

☆樱花仙子☆ 提交于 2019-12-25 08:41:03
问题 We recently upgraded SQL Server 2008 to SQL Server 2014 and since we had DB projects we also had to upgrade Visual Studio from 2010 to 2015 in order to support build and deployment of DB projects from Visual Studio locally. We are now trying to use Visual Studio Enterprise 2015 with TFS 2010 But I am facing issues with build automation and TFS server When I try to select "Items to Build" I am getting this message box, When I try to open the build template I am not able view some of the agent

TFS Build Definition Secret Variables

孤街醉人 提交于 2019-12-25 07:41:33
问题 I have several secret variables in my build definition that I'm passing to a powershell function in the argument property for the build step however they are getting sent in as ******** instead of being decrypted. The parameters that I'm passing into the call of the powershell script are the following with $(accesskey) and $(secretkey) set as secret in the build definition: -source "$(CodeDeploySource)" -destination "$(CodeDeployDestination)" -Description "$(Description)" -Location "$

TFS User needs permission to update build information

こ雲淡風輕ζ 提交于 2019-12-25 07:39:32
问题 Like I already asked in Visual Studio Forum, I wrote an application that binds work items to builds based on svn logs. When I try to hit buildDetail.Information.Save(); I get the Exception User (Bob) needs permission to update build information. This user got the right permission set in the build permission dialog and I also set it in the admin command line on the tfs itself C:\Program Files\Microsoft Team Foundation Server 14.0\Tools\tfssecurity /a+ Build ProjectName UpdateBuildInformation n

trying to get TFS teambuild to build c#>VB6>c# application (ComReference prob?)

半世苍凉 提交于 2019-12-25 05:06:53
问题 I'm trying to get TFS team-build to reliably build a WPF C# app. This app relies on a VB6Lib.dll which we maintain, this VB6Lib.dll itself relies on other C# libs that we also maintain. I've set up a build definition to build (in order): VbDependencies.sln (all libs in this have com interop set, thus the VB6 can find their TLBs) buildVB6Lib.proj (an msbuild file which calls "VB6.exe /make /d" to make the VBLib.dll on the build server, as part of this script I've been copying the VB6Lib.dll

Excluded projects block Team Foundation Build test step

时光毁灭记忆、已成空白 提交于 2019-12-25 04:36:07
问题 A followup to this question, Building select projects only with Team Foundation Build: I’ve now successfully “isolated” three of the projects in a solution with 20+ projects. One of the three projects is a test project, which contains unit tests for one of the other projects (a class library). Team Build is running fine, just the three projects are included in the process. However, when I run the tests in the test project as a part of the build, the tests pass BUT the build fails on the

TFS Workflow - Show Test Suites in Custom Editor

十年热恋 提交于 2019-12-25 02:55:58
问题 [Edit] You can get the current build-def via the IServiceProvider . See this answer. [/Edit] I'm trying to add a custom editor for one of our TFS Xaml build workflows. I started by following this excelent tutorial by Ewald Hofman. Everything worked as expected, when I click on the [...] button for the workflow parameter the credential dialog is displayed. What I want to do: I want to display a selectable list/tree of test suites that are available in the TFS team project. Just like in the

How to find the number of new commits(git) during the TFS Build

此生再无相见时 提交于 2019-12-25 02:24:26
问题 I've followed this solution to fetch the files, which are modified in the last commit. The solutions will be like $files=$(git diff HEAD HEAD~ --name-only) echo $files $temp=$files -split ' ' $count=$temp.Length echo "Total changed $count files" New-Item -ItemType directory -Path $(Build.ArtifactStagingDirectory)\files For ($i=0; $i -lt $temp.Length; $i++) { $name=$temp[$i] echo "this is $name file" if (Test-Path "$(Build.SourcesDirectory)\$name") { Copy-Item $(Build.SourcesDirectory)\$name $

Building select projects only with Team Foundation Build

眉间皱痕 提交于 2019-12-25 01:49:02
问题 I’m trying to set up Team Foundation Build and so far it’s running ok with builds, tests and code analysis. My problem is, that I can’t figure out how to build just a subset of the projects included in the solution. I know how to use the configuration manager to create custom solution configuration that will build/deploy a selection of my projects. But when I create a new build definition, I only get the default “Debug” and “Release” configurations. alt text http://img686.imageshack.us/img686

Groovy get edit type of tfs changeset

十年热恋 提交于 2019-12-25 00:43:02
问题 I need to get tfs changeset files (I have accomplished this) and also whether it was added or deleted using the groovy plugin on jenkins server. I cannot figure out how to access the item class that holds the method to get the edit type. I have tried the below code and just cannot figure it out. import java.lang.* import jenkins.* import jenkins.model.* import hudson.* import hudson.model.* import hudson.util.* import hudson.scm.* import hudson.scm.SubversionChangeLogSet.LogEntry import

VSTS Developer Tools Build Task Error: ENOENT: no > such file or directory, open > 'C:\Users\x\AppData\Local\Temp\2\vsixeditorx\extension.vsomanifest

非 Y 不嫁゛ 提交于 2019-12-24 20:32:48
问题 I'm using "VSTS Developer Tools Build Task" to publish VS extension to VS market place from TFS build pipeline. I have configured the task in a test build pipeline installed in Windows 7 machine and it worked successfully, However, When I try to implement the same in a TFS 2017 server configured in Windows 2012 R2 machine, build task getting failed with following message, Pleas help me to resolve this issue. Log: 2017-05-30T14:08:29.9662395Z ##[section]Starting: Publish Extension 2017-05