c# - #if debug --> #if myOwnConfig? -


is there way in c# use custom configuration "#if debug"

i need "#if offline" build-config's name "offline" (only further debug-purposes too)...

thanks!

  1. build -> configuration manager -> active solution configuration -> new...
  2. create new configuration "offline".
  3. project -> properties -> build -> configuration -> offline
  4. conditional compilation symbols: type offline
  5. save project.

Comments

Popular posts from this blog

java - activate/deactivate sonar maven plugin by profile? -

python - TypeError: can only concatenate tuple (not "float") to tuple -

java - What is the difference between String. and String.this. ? -