I have a group of properties, for example:
<PropertyGroup> <Platform>Win32;x64</Platform> </PropertyGroup>
And I want to execute the package in the Exec task, for example:
<Exec Command='devenv MySolution.sln /Build "Release|%(Platform)"' />
But of course, as written, I get an error message:
error MSB4095: The item metadata %(Platform) is being referenced without an item name. Specify the item name by using %(itemname.Platform).
Can I do batch jobs on properties that are lists? I guess I could hack it by creating a placeholder ItemGroup with metadata and package.
source share