I've got a try catch (or with in F#) structures all over the code but I don't really need them in debug mode, it's easer for me to debug errors via VS debugger.
So I want to mark try catch codelines to be compiled only in release mode - is it possible or not ?
You can surround them with:
#if !DEBUG
...
#endif
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With