visual studio - Post-build event command fails -
i have project creates dll intended used powershell profile; whenever finish creating new version of it, have copy/paste bin directory (which powershell profile looks these little toys of mine).
one day thought myself, "self, why not use post-build event command automatically?"
...well, answer question "because doesn't damn work, that's why." among simplest commands on planet , exits code 1, whatever means.
cp originpath destinationpath
if run in ps, turns out fine. have quotes in paths , everything. on earth wrong?
my mistake: have never used build events before , guess misunderstood supposed typing, apparently this works:
powershell cp originpath destinationpath
so, else might confused, that's how that. >.> guess it's not powershell command? not sure is, exactly.
Comments
Post a Comment