The solution is simple. Install the service for testing, only once. To test newly-compiled changes to the service:
- Stop the service
- Copy new files into the service installation directory, overwriting the old ones
- Start the service
Easy!
As always, use unit tests, to test code, instead of testing through execution. There is little excuse to not test code, these days. To expedite testing and TDD, I suggest installing NCrunch for Visual Studio (http://www.ncrunch.net/).
No comments:
Post a Comment
Please provide details, when posting technical comments. If you find an error in sample code or have found bad information/misinformation in a post, please e-mail me details, so I can make corrections as quickly as possible.