dotnet new consoleProject runs.
The preLaunchTask 'build' terminated with exit code 1. This happens because there was a warning during build. The build actually did complete successfully.
Thanks for filing. I can definitely reproduce this. It doesn't appear that the warning was actually elevated to an error in the build but VS Code seems to be refusing to launch the debugger due to the warning.
If I comment the problemMatcher line in tasks.json I don't get stopped when building with warnings. But do when I get errors.
This issue is incredibly annoying. I'm glad it's not just me.
Closing this as the issue has been fixed in the newest release.
Most helpful comment
If I comment the problemMatcher line in tasks.json I don't get stopped when building with warnings. But do when I get errors.