Mvc
Mvc copied to clipboard
$(TargetPath) or $(TargetDir) are empty on PostBuild event
Hi,
There's an issue with post build event on netstandard library. when executing a post build event, the $(TargetDir) et $(TargetPath) macros are empty while they are not empty on the "post build event command line" wizard on visual studio.
You can reproduce it easily by
- creating a netstandard project library
- put an
echo "Target path is : " $(TargetPath)" - then build the project
- take a look at output window
This works for $(SolutionDir) or other macros
Can you file that bug here http://github.com/dotnet/sdk
Yep, it's done :)
The link => https://github.com/dotnet/sdk/issues/1055