Questions tagged [msbuild-batching]

Inside a Microsoft Build project, the task batching provide a way to divide item lists into different batches and pass each of those batches into a task separately.

Description

Inside a Microsoft Build project, the task batching provide a way to divide item lists into different batches and pass each of those batches into a task separately.

References

MSBuild Batching

6 questions
2
votes
1 answer

MsBuild Target with multiple Outputs

Is there a way to overcome Targets one-to-one mapping when you have multiple outputs? Seems like that should be possible, but I cannot find out how, given I'm pretty new to MsBuild I'm probably missing something. The following piece of msbuild…
Venca.M
  • 33
  • 1
  • 6
2
votes
1 answer

Transforming multiple config files for multiple projects via MsBuildProj file

I am trying to run multiple commands on a list of files based on a pattern (all files of form *.config under sub directories of a given directory), like so:
Danny Varod
  • 17,324
  • 5
  • 69
  • 111
0
votes
1 answer

Nested target batching in MSBuild?

I want to execute an action per DeploymentTarget, of which there can be more than 1 per ProjectsForDeployment. I know if there was only 1 DeploymentTarget child per ProjectsForDeployment, the target batching would work - but what happens if there's…
Henry
  • 37
  • 3
0
votes
1 answer

MSBuild Copy task + batching on correlation metadata

I am trying to build an MSBuild target that is to take a certain file in a list of directories, and then copy that file with a different name into the same directory. The "destination" name is directly dependent upon the directory. Let's illustrate…
MarioDS
  • 12,895
  • 15
  • 65
  • 121
0
votes
1 answer

Current build number not being considered during tfsbuild

Something is not right. i am trying to build and deploy thru the below code snippet, but it so happens that the current build doesnt get deployed, whereas if i give a build number older than a current build, that gets deployed. I am puzzled what is…
AnsibleUser
  • 65
  • 1
  • 8
0
votes
2 answers

MSbuild batch copy

Last time, i misinterpreted my situation, but you folks got me really quick and great solutions. hence coming back. I have a new situation. I have provide a snippet of my code. Not sure what is wrong. I am trying to copy to multipleservers with…
AnsibleUser
  • 65
  • 1
  • 8