Fix: launchSettings.json environment variables are ignored for a commandName: Executable profile
If your Executable profile runs dotnet run or dotnet watch, the inner command applies the default profile and overwrites your variables. Add --no-launch-profile, and use SDK 10.0.200+.