Conditional Resources
Hello all,
I am using Visual Studio Express C# 2005.
I have two different compilations (executables) of by setting conditional flags in the solution and #if'ing some parts of the code.
What I want to do now is to include a image in the exe, except that each compilation should have its own image (for a splash screen).
I managed to create two similar forms and using #if directives to instantiate one or the other form. However both forms are compiled and I can reverse both images by reflection, and this is something my boss does not want.
Is it possible to create resource assembly with image depending on compilation flags - Like if DEBUG is set compile with some image otherwise with other?
If not, does anyone have any idea that could point me to the right path?
Thank you all in advance.
P.S. sorry for my english. It's not my primary language.
|