You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
By convention (and often enforced requirement), `$(OutputPath)` ends
with `\`, which means that quoting it for use with `<Exec/>`:
<Exec Command="whatever "$(OutputPath)"" />
will often result in an *invalid* command, because the `\` escapes the quote!
whatever "C:\path\to\output\" # ruh roh!
The fix is to instead use `$(OutputPath.OutputPath.TrimEnd('\')`,
which ensures that the path does *not* end in `\`, preventing
the unintentional escape usage:
whatever "C:\path\to\output" # yay!
0 commit comments