Skip to content
This repository was archived by the owner on Dec 14, 2018. It is now read-only.

$(TargetPath) or $(TargetDir) are empty on PostBuild event #6050

Closed
marcusien opened this issue Mar 30, 2017 · 2 comments
Closed

$(TargetPath) or $(TargetDir) are empty on PostBuild event #6050

marcusien opened this issue Mar 30, 2017 · 2 comments

Comments

@marcusien
Copy link

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

@davidfowl
Copy link
Member

davidfowl commented Mar 30, 2017

Can you file that bug here http://github.com/dotnet/sdk

@marcusien
Copy link
Author

marcusien commented Mar 30, 2017

Yep, it's done :)

The link => dotnet/sdk#1055

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants