Questions tagged [build-process-template]
27 questions
0
votes
1 answer
Using Saved Unchanged XAML Build Process File Causes Build To Fail
I am getting the following build error when using my "custom" XAML process build file:
(-1, 0)
TF215097: An error occurred while initializing a build for build definition >\Test2\TestProject1:
Exception Message: Cannot set unknown member…

Brian Chambers
- 463
- 5
- 14
0
votes
1 answer
Can not remove unnecessary arguments of a build process template
Currently, my build process template has some redundant arguments that I want to remove:
I open this template in visual studio and remove the argument from the list:
Then, I check in modified template to TFS and refresh the build process…

TrBaPhong
- 79
- 2
- 6
0
votes
1 answer
AssemblyInfo.cs needs to change in SourceControl after build completes
I'm using TFSBuildExtensions to auto version my libraries.
I've got the build template modified so that it does that nicely. Although it doesn't actually update the AssemblyInfo.cs file.
Now I would like that AssemblyFileVersion attribute in the…

user1161137
- 1,067
- 1
- 11
- 31
0
votes
1 answer
BuildprocessTemplate running InvokeProcess, getting "File not found"
I am trying to run a batch file as part of my build with the InvokeProcess activity. However any combination of FileName and WorkingDirectory makes the build fail with the "File not found: NameOfMyBatchFile.bat" message. Any tips on how to…

Stine Dammen Ek
- 1
- 1
0
votes
2 answers
Accessing PendingChanges on a custom CodeActivity on TFS
I have a scenario where I have a gated check-in that targets a custom build process template.
I want to have a set of validations that are performed on the files that is being submitted, like if they are in the correct folder in TFS. I am thinking…

Ricardo
- 99
- 2
- 10
0
votes
1 answer
How to download a build process template in C#?
I'm trying to upgrade the current build definitions to use the newest template - TfvcTemplate.12.xaml. I started off by downloading it from the "Edit build definition" window in VS 2013. But I noticed that the template is in Visual Basic, just like…

Ivan Prodanov
- 34,634
- 78
- 176
- 248
0
votes
1 answer
Upgrading TFS 2010 build definitions to TFS 2013 build template
I have ported over all of my build customizations from TFS 2010 to the new TFS 2013 build process template. What would be the best approach to upgrade the old build definitions to the new template while retaining the settings (i.e. configurations to…

Steve L.
- 1,098
- 13
- 23
0
votes
1 answer
Add argument/parameter to TFS Build Definition
I have a single build process template that I use for a number different builds definitions. I want to be able to specify an argument/parameter that is different for each build definition. I'll use this value in one of the workflow activities…

openshac
- 4,966
- 5
- 46
- 77
0
votes
3 answers
Create a build environment for "C" project to dynamically select folders during compile time
Lets say my folder structure is something like this ..
+-- Application
|
+-- MICRO_CONTROLLER_1
|
+-- MICRO_CONTROLLER_2
|
+-- MICRO_CONTROLLER_3
and i have a compile switch ( SELECT_MICRO) set to #define SELECT_MICRO == MICRO_CONTROLLER_1 ,…

user1474918
- 113
- 1
- 6
0
votes
1 answer
How to get path to file path in a Workspace by C# in a customized activity of TFS 2012 build process template?
I'm writing a customized activity for TFS build process workflow, e.g. guideline here.
In my C# CodeActivity .Execute() method, I want to get path to file and/or folder in a Workspace
I tried google and found ConvertWorkspaceItem here but I don't…

Nam G VU
- 33,193
- 69
- 233
- 372
0
votes
1 answer
How to get `SourceDir` folder and `Drop Folder` while in C# customized activity code of TFS 2012 build process template?
I'm writing a customized activity for TFS build process workflow, e.g. guideline here.
In my C# CodeActivity .Execute() method, I want to access to SourceDir folder and Drop Folder.
How can I do that?

Nam G VU
- 33,193
- 69
- 233
- 372
-1
votes
1 answer
Can you queue Build-Deploy-Test workflows in TFS 2012 or 2015?
the question I am referring to is this one: Can you queue Build-Deploy-Test workflows in TFS 2010?
It is stated, that with TFS 2010 it's not possible to do it (other than by hand). But what about TFS 2012/2015? Is there anything new that one can use…

El Manu
- 1
- 1