Reputation: 30837
I'm debugging a class library which is testing by a demo application. Each time I make a change in code and set a break-point I should:
Can I automate these steps in some way ?
Upvotes: 0
Views: 637
Reputation: 941217
Right-click your class library project, Set as Startup Project if necessary. Again, Properties, Debug tab. Select "Start external program" and select your 'demo' program's EXE.
Pressing F5 now automatically starts the demo program with the debugger attached. Don't forget to take advantage of Edit+Continue.
Upvotes: 3
Reputation: 9114
You don't need a demo application. Just create unit test for the library. http://msdn.microsoft.com/en-us/library/ms379625(v=vs.80).aspx
Upvotes: 0