ice-builder-visualstudio icon indicating copy to clipboard operation
ice-builder-visualstudio copied to clipboard

Item metadata in OutputDir is not expanded correctly.

Open pepone opened this issue 3 years ago • 0 comments

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

pepone avatar Sep 21 '22 16:09 pepone