Answer the question
In order to leave comments, you need to log in
Application menu change (C#, VS) depending on Configuration Manager?
There is a form in the application. The form has a menu. There is an item on the menu. Is it possible to disable this menu item when building in production version by selecting a different build configuration (usually debug/release)? Or in some other way, so as not to manually change the application code? (While I give away the application, just making the test menu item invisible).
Answer the question
In order to leave comments, you need to log in
#if DEBUG
// Debug work here
#else
// Release work here
#endif
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question