Open
Description
In our build environment all generated artifacts must have "out-of-sources" output path, including intermediates. Properties like OutDir
, BaseIntermediateOutputPath
etc are set as absolute paths.
But in the microsoft.visualstudio.javascript.sdk\1.0.628833\Sdk\Sdk.targets
there is a following property:
<!-- This property was moved from props to targets so we can access IntermediateOutputPath. -->
<PackagePropsPath>$(MSBuildProjectDirectory)\$(IntermediateOutputPath)\package.g.props</PackagePropsPath>
This property assumes that IntermediateOutputPath
is always a path relative to the project directory, and this assumption makes the GeneratePackageJsonProp
target fail when IntermediateOutputPath
is an absolute path.
I was able to workaround the error by redefining the PackagePropsPath
in the project, but I'd expect this should accept any intermediate path out of the box.