locked
[UWP] - Strange behaviour of CODE_ANALYSIS conditional compilation symbol in Release build RRS feed

  • Question

  • For the release build project configuration of my UWP app the CODE_ANALYSIS symbol is visible in the Visual Studio project properties editor in the Conditional Compilation Symbols textbox. However, this symbol is not present at all in the Project File itself (using notepad).

    <DefineConstants>DEBUG;TRACE;NETFX_CORE;WINDOWS_UWP</DefineConstants>

    Now, when I add a RELEASE symbol, the CODE_ANALYSIS symbol is implicitly added.

    <DefineConstants>TRACE;RELEASE;NETFX_CORE;WINDOWS_UWP;CODE_ANALYSIS</DefineConstants> 

    Any ideas?

    • Moved by Xavier Xie-MSFT Wednesday, September 6, 2017 2:51 AM not uwp development issue
    Friday, August 11, 2017 6:22 AM

All replies