I\'ve been writing an #if DEBUG
, #else
, #endif
fragment of code, and I noticed that Visual Studio doesn\'t let me use autocomplete to
I know this is a late answer, but it still applies to this day.
TL;DR: this is a VS bug
, which affects only affects netstandard/netcore projects (or simply put, the new .csproj format).
The workaround is... nasty! Reload the project file
(or close and reopen VS).
The good news: this does not affect compilation :)
You can read more here and here.