I can not find where this parameter is
#if !DEBUG // some code #endif
when I change the configuration drop-down menu from debug to release, I see no changes in my code, which means that my DEBUG character is undefined
EDIT
I do not see the settings on the Buid screen, as Mark points out:
If you go to the project (website) properties, go to the "Assembly" tab and make sure Define DEBUG constant checked.
Define DEBUG constant
This parameter can be changed for each assembly configuration.
If the answer "Mark" does not do this, try switching to
#ifndef DEBUG /* ... */ #endif
or optional
#if !defined(DEBUG) /* ... */ #endif
and see if that helps?
In Web.config, change the compilation section to:
<compilation debug="false">
or
<compilation debug="true">
Worked for me, but it is annoying, there is no choice on the assembly screen.
Source: https://habr.com/ru/post/1338142/More articles:ST_Distance and 'as' in Postgis - syntaxUsing user stream conversion β Daemon stream - javaUsing SOAP and other standard libraries in Ruby 1.9.2 - soapHow to show ProgressDialog when changing activity to another? - androidPostgres: single table with many columns or multiple tables with fewer columns? - sqlNSPopUpButtonCell with a hierarchical menu in NSTableView - objective-chttps://translate.googleusercontent.com/translate_c?depth=1&rurl=translate.google.com&sl=ru&sp=nmt4&tl=en&u=https://fooobar.com/questions/1338144/jquerycan-you-add-transition-effects-to-load&usg=ALkJrhg4EyT8xX_Z9zneRloEDBBGz9ZMnAReadFile does not work asynchronously on Win7 and Win2k8 - asynchronousHow to get Monday, Sunday by week number in SQL Server? - dateZedGraph Fill Zones - c #All Articles