I have a solution with three projects:
- is a console (GUI app) for a device connected through Serial Port.
- Serial Port emulation (console app, self-hosted WCF service).
- Common interfaces.
To debug, I start SerialPortEmulator and then debug (F5) the main project.
Two problems:
- It takes extra keystrokes to start the emulator.
- I need to remember to stop the emulator before compiling (in case there are breaking changes).
Question: Ideally I want to have emulator project be started on debug, and terminated on debug-stop. Is there easy way to do that?
I could have the emulator in a different solution, but then I need to ensure the interfaces definition library is always in sync.