c# - Precompiled symbols not finding custom configuration -



c# - Precompiled symbols not finding custom configuration -

i using vs2010, c#. have custom configuration named wcfdebug. i've added configuraion through configuration manager. have added conditional compilation symbols project:

the problem when utilize code this:

#if wcfdebug /*my code here*/ #endif

program never finds configuration - neither other configuration, debug:

#if debug /*this 1 not found*/ #endif

what should do, programme finds configurations precompiled symbols?

edit:

of course, expect programme find configuration during debug sessions in run-time mode.

in solution explorer, right click on "solution ...." -> configuration manager - that's how select active configuration.

c# .net

Comments

Popular posts from this blog

java - How to set log4j.defaultInitOverride property to false in jboss server 6 -

c - GStreamer 1.0 1.4.5 RTSP Example Server sends 503 Service unavailable -

Using ajax with sonata admin list view pagination -