Is it possible to pass a dynamic property group to an MSbuild task? So if I have the following properties and values:
<MyPropertyGroup> <Foo>bar</Foo> <Foo1>bar1</Foo1> <Foo2>bar2</Foo2> </MyPropertyGroup>
I could call MSBuild with a short property list:
<MSBuild Projects="$(SolutionFile)" Targets="Build" Properties="MyPropertyGroup" />
But it would be the same as calling the task like this:
<MSBuild Projects="$(SolutionFile)" Targets="Build" Properties="Foo=bar;Foo1=bar1;Foo2=bar2" />
This is helpful if there's a large property list, and allows for only 1 place needs to be maintained.