is there a way in Visual Studio to use a custom Configuration like "#if DEBUG"
I need a "#if OFFLINE" as my Build-Config's name is "Offline" (only for further debug-purposes too)...
Thanks!
Yes, this is possible.
Instructions:
Build
-> Configuration manager
-> Active solution configuration
-> New...
Offline
.Project
-> Properties
-> Build
-> Configuration
-> Offline
.OFFLINE
.