Skip to content

Conversation

@MichalPavlik
Copy link
Member

@MichalPavlik MichalPavlik commented Sep 19, 2024

Fixes #10579

Summary

Command dotnet run creates TerminalLogger instance and bypasses code that enables VIRTUAL_TERMINAL_PROCESSING on Windows. This can cause rendering of unwanted VT100 control codes in the console.

Customer Impact

Customer see "weird" characters on terminal that doesn't have enabled VT100 support by default - mostly conhost. Reproduces in dotnet new console && dotnet run scenario.

Regression?

Yes, in RC2 from enhanced console output in dotnet run in dotnet/sdk#42240.

Testing

Manual testing. Before and after the fix:
image

Risk

Low. The same logic is used when MSBuild is started via entry point.

@rainersigwald rainersigwald changed the base branch from main to vs17.12 September 19, 2024 16:29
@MichalPavlik MichalPavlik requested a review from a team as a code owner September 19, 2024 16:40
@rainersigwald
Copy link
Member

Reverted version bump (we haven't gone to final versioning in 17.12 yet) and merging on red for that check.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[NETSDKE2E] With NET 9 RC2 SDK installed, running projects created with CLI result in unwanted strings

6 participants