Ghost Developer Ghost Developer - 4 months ago 42
C# Question

Compiler Directives is not working in WPF

I write a condition using compiler directive, but it's not working

Please look at the image below, the configuration QA specific code is not active.

enter image description here


Conditional compilation doesn't work with project configuration names.

Add a Conditional compilation symbol QA under Build in the Visual Studio Project Properties.