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

Using Android Volley to post an array to PHP -

python - How to add an model instance to a django queryset? -

angularjs - No 'Access-Control-Allow-Origin' error from local domain to public API -