-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[NETSDKE2E] With NET 9 RC2 SDK installed, running projects created with CLI result in unwanted strings #10579
Comments
This is terminal logger emitting to a console that doesn't support certain terminal capabilities. @rainersigwald we might have a gap here. @darrenarvin123 what terminal are you using? |
|
I'm going to transfer this to the MSBuild repo. |
Hmm, the codes are mostly working though; look at all the overwriting and status type stuff here: Screen.Recording.2024-08-29.094733.mp4What is the flow here with the new If so that's falling into a trap MSBuild appears to have set. We enable ANSI processing in our entrypoint Line 2996 in b82694a
instead of in TL itself. Given the cycle time would it be easier to fix this in SDK or MSBuild, @baronfel? |
We've got 3 weeks before SDK locks down, is that enough time to diagnose and fix in MSBuild? Great spot on the |
I would think so. @MichalPavlik? |
I assigned this one to myself. Let's discuss details during our triage. |
@rainersigwald any updates on this? Is this getting fixed for .NET 9 RC2? |
@richaverma1 Seems pretty unlikely for RC2--unless @MichalPavlik has a fix prepared I don't know about. |
Working on multiple things right now, but I will prioritize this one. |
PR was merged, so I'm closing this issue. Please reopen if needed. |
@MichalPavlik so weird, today we met it again on net9 rc2 candidate build: 9.0.100-rc.2.24474.11 on EN Windows Server 2012 R2 but did not meet it on EN win11-x64 with same build FYI @richaverma1 |
I think I know what is the root cause here. As the .NET 9 is already in RC stage, I did a minimal change to get rid of this behavior on consoles that supports VT100. Unfortunately, Console Host in Server 2012 doesn't support VT100. This implementation was added in @baronfel , please correct me if you have different opinion. |
@MichalPavlik Currently it still repro on net9 rtm sdk on winserver2012 R2. Do we need to open a new bug for winserver2012 R2 or reopen this issue? |
@vdanche file a new bug for winserver2012 R2 and mention this one in it. |
Build info:
9.0.100-rc.2.24428.4 (runtime-9.0.0-rc.2.24426.3)
Repro steps:
dotnet new console
dotnet build
dotnet run
Expected:
Project runs successfully without any unwanted strings
Actual Result:
Unwanted strings are shown together with the output
dotnet --info
.NET SDK:
Version: 9.0.100-rc.2.24428.4
Commit: 0030622fd9
Workload version: 9.0.100-manifests.12008748
MSBuild version: 17.12.0-preview-24426-01+14df0589a
Runtime Environment:
OS Name: Windows
OS Version: 10.0.20348
OS Platform: Windows
RID: win-x64
Base Path: C:\Program Files\dotnet\sdk\9.0.100-rc.2.24428.4\
.NET workloads installed:
Configured to use loose manifests when installing new manifests.
There are no installed workloads to display.
Host:
Version: 9.0.0-rc.2.24426.3
Architecture: x64
Commit: static
.NET SDKs installed:
9.0.100-rc.2.24428.4 [C:\Program Files\dotnet\sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 6.0.32 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 9.0.0-rc.2.24426.2 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 6.0.32 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 9.0.0-rc.2.24426.3 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 9.0.0-rc.2.24425.1 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]
Other architectures found:
x86 [C:\Program Files (x86)\dotnet]
registered at [HKLM\SOFTWARE\dotnet\Setup\InstalledVersions\x86\InstallLocation]
Environment variables:
Not set
global.json file:
Not found
Learn more:
https://aka.ms/dotnet/info
Download .NET:
https://aka.ms/dotnet/download
The text was updated successfully, but these errors were encountered: