AFAIK, unlike Visual Studio or Rider, VS Code doesn't have 'Build Configuration Indicator' UI or anything that does the similar function.
If you have a C# solution with multiple build configurations, and if some of them contains a preprocessor symbols, it becomes a nightmare: you can't change the editor's ACTIVE build configurations to work with those preprocessed code paths. You have to manually edit the .csproj file to make it work.
C# Dev Kit should support for changing active build configuration in the editor.
*** If there is a way to do this, please let me know.
Alternatives considered
I have to manually edit .csproj files so that a Debug configuration contains the required preprocessor symbols when editing. I have to comment it out when building.
Describe the feature you'd like
AFAIK, unlike Visual Studio or Rider, VS Code doesn't have 'Build Configuration Indicator' UI or anything that does the similar function.
If you have a C# solution with multiple build configurations, and if some of them contains a preprocessor symbols, it becomes a nightmare: you can't change the editor's ACTIVE build configurations to work with those preprocessed code paths. You have to manually edit the .csproj file to make it work.
C# Dev Kit should support for changing active build configuration in the editor.
*** If there is a way to do this, please let me know.
Alternatives considered
I have to manually edit .csproj files so that a Debug configuration contains the required preprocessor symbols when editing. I have to comment it out when building.
Environment Information
WIn 10, VS Code 1.87.2