ice-builder-visualstudio
ice-builder-visualstudio copied to clipboard
Item metadata in OutputDir is not expanded correctly.
I see the problem, I think the Visual Studio IceBuilder plugin isn't expanding the item metadata correctly.
This will work well for a pure MSBuild build, as a workaround you can try something like
<ItemGroup>
<SliceCompile Update="SliceFiles\AModule\*.ice">
<OutputDir>generated/AModule</OutputDir>
</SliceCompile>
<SliceCompile Update="SliceFiles\AnotherModule\*.ice">
<OutputDir>generated/AnotherModule</OutputDir>
</SliceCompile>
</ItemGroup>
Originally posted by @pepone in https://github.com/zeroc-ice/ice-builder-msbuild/issues/9#issuecomment-1253977036