Does Windows Forms for full Windows OS has some compilation symbol so when designer is going to compile code I can conditionally compile with preprocessor directives?
Compact Framework projects have so, but I don’t find such symbol in a full Windows Forms project.
Sample code:
#if DESIGNTIME
#endif
I believe this question won’t have a whole answer, because it seems such compilation symbol isn’t present in Windows Forms.
At the end of the day, the answer is No, there’s no designer compilation symbol in Windows Forms.