In code can I determine if I am a release or debug build

  • Thread starter Thread starter Paul Tomlinson
  • Start date Start date
P

Paul Tomlinson

Is there a special variable or anything that *in code* I can check - I only
want to messagebox in debug build.
 
Is there a special variable or anything that *in code* I can check - I
only want to messagebox in debug build.

For the record I have stumbled across Debug.Fail which might do the job
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top