powershell - TFS 2013 Build: Cannot leave solution/project files field blank -


i'm using build process template comes tfs 2013 (tfvctemplate.12.xaml). want create new build definition runs bunch of powershell scripts; however, not have .net build. tf build not seem that. i'm getting error below when leaving solution/project files field blank. there way around this?

tf215097: error occurred while initializing build build definition \myprojectroot\mybuilddefinition:

exception message:

the process parameter projectstobuild required no value set. value must set on definition or when build queued (category: #200 build, display name: 1. projects). (type argumentexception)

exception stack trace:

at microsoft.teamfoundation.build.hosting.buildworkflowinstance.validateparameters(buildworkflowdefinition definition, idictionary`2 passedinparametervalues) @ microsoft.teamfoundation.build.hosting.buildworkflowinstance.initialize(buildworkflowdefinition definition, idictionary`2 datacontext)  @ microsoft.teamfoundation.build.hosting.buildworkflowmanager.trystartworkflow(workflowrequest request, workflowmanageractivity activity, buildworkflowinstance& workflowinstance, exception& error, boolean& synclocktaken) 

in tfs 2015 (or visual studio online) new tfs build system no longer has limitation.

in tfs 2013 (to avoid having muck around workflow), provide dummy msbuild .proj file nothing.

<project xmlns="http://schemas.microsoft.com/developer/msbuild/2003" initialtargets="build">   <target name="build">     <message text="this msbuild placeholder , nothing" />    </target> </project> 

Comments

Popular posts from this blog

php - Zend Framework / Skeleton-Application / Composer install issue -

c# - Better 64-bit byte array hash -

python - PyCharm Type error Message -