Useful Tip: Kill Process Before Compiling

Expanding and utilizing the engine via C++.
2 posts Page 1 of 1
Happenstance
Posts: 90
Joined: Sat Apr 11, 2015 9:08 pm
by Happenstance » Sun Nov 10, 2019 7:46 pm
I might be the only one that finds this useful but I'm constantly forgetting to close Torque before recompiling which of course results in VS complaining that it can't access the exe. This bit can be added as a Pre-Build Event and will automatically terminate the exe before building.

taskkill /f /fi "imagename eq $(TargetFileName)"
Bloodknight
Posts: 242
Joined: Tue Feb 03, 2015 8:58 pm
by Bloodknight » Wed Nov 13, 2019 9:29 pm
ohhh handy, ive been caught by this more than once :)
2 posts Page 1 of 1

Who is online

Users browsing this forum: No registered users and 0 guests