Sunday, November 29, 2009

Conditional compilation considered harmless, not.

Just recently i discovered a little problem with conditional compilation. Our dev build was working fine, while our test build had a unexpected error. It turned out, that the error was in a part of code which was included by conditional compilation. So, when you test your classes, you have to make sure that all the different branches are tested.

No comments:

Post a Comment