I have a WinForms utility that I use constantly, and enhance regularly. Roughly one million times, I have hit F5 to compile the utility -- and the compile fails because the utility is running, so the EXE is locked and VS cannot write out the new EXE.
After ~1,000,000 dohs! I'm asking for your help.
If I could run an EXE as the compile begins, I could write KillUtil (picking a name) to kill the utility.
Can it be done? I hit F5, KillUtil executes, and THEN VS compiles?
It would be good if running KillUtil was blocking, i.e. VS would not start the compile until KillUtil completed killing my utility and shut itself down.
TIA, Hoytster