folibis folibis - 5 months ago 48
C# Question

Conditional resource compile

I have c# application. The application includes resource file with images and icon.
My target is to compile the same application but with different set of images/icons. Same images name, but different content.

Is there a way to include different resource file in compile time on condition?


Maybe you are looking for Preprocessor Directives or Conditional Attribute.

See this post