MSbuild crashes when run inside terminal #21005

Open
opened 2026-01-31 07:30:23 +00:00 by claunia · 0 comments
Owner

Originally created by @gilknyaz on GitHub (Dec 21, 2023).

Originally assigned to: @rainersigwald on GitHub.

Windows Terminal version

1.18.3181

Windows build number

10.0.22621.0

Other Software

MSBuild (VS 2022)

Steps to reproduce

  1. Open the Developer Command Prompt for VS 2022 profile.
  2. go to a C# solution folder
  3. Run MSbuild to compile. (Or run msbuild /t:Restore to restore some nuget packages)

Expected Behavior

MSbuild to succeed

Actual Behavior

MSBuild starts working but stops very early. No error is written to the console.
In Event Viewer -> Application, the following error appears:

Faulting application name: MSBuild.exe, version: 17.8.3.51904, time stamp: 0xe31ab667
Faulting module name: combase.dll, version: 10.0.22621.2792, time stamp: 0xd9671289
Exception code: 0xc0000409
Fault offset: 0x00000000001522b2
Faulting process id: 0x0x6380
Faulting application start time: 0x0x1DA34154F6EE43B
Faulting application path: C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\Bin\amd64\MSBuild.exe
Faulting module path: C:\WINDOWS\System32\combase.dll
Report Id: 4af61e29-3040-4862-b67c-0fb2c7a14aef
Faulting package full name: Microsoft.WindowsTerminal_1.18.3181.0_x64__8wekyb3d8bbwe
Faulting package-relative application ID: App

Originally created by @gilknyaz on GitHub (Dec 21, 2023). Originally assigned to: @rainersigwald on GitHub. ### Windows Terminal version 1.18.3181 ### Windows build number 10.0.22621.0 ### Other Software MSBuild (VS 2022) ### Steps to reproduce 1. Open the Developer Command Prompt for VS 2022 profile. 2. go to a C# solution folder 3. Run MSbuild to compile. (Or run msbuild /t:Restore to restore some nuget packages) ### Expected Behavior MSbuild to succeed ### Actual Behavior MSBuild starts working but stops very early. No error is written to the console. In Event Viewer -> Application, the following error appears: Faulting application name: MSBuild.exe, version: 17.8.3.51904, time stamp: 0xe31ab667 Faulting module name: combase.dll, version: 10.0.22621.2792, time stamp: 0xd9671289 Exception code: 0xc0000409 Fault offset: 0x00000000001522b2 Faulting process id: 0x0x6380 Faulting application start time: 0x0x1DA34154F6EE43B Faulting application path: C:\Program Files\Microsoft Visual Studio\2022\Enterprise\MSBuild\Current\Bin\amd64\MSBuild.exe Faulting module path: C:\WINDOWS\System32\combase.dll Report Id: 4af61e29-3040-4862-b67c-0fb2c7a14aef Faulting package full name: Microsoft.WindowsTerminal_1.18.3181.0_x64__8wekyb3d8bbwe Faulting package-relative application ID: App
claunia added the Needs-TriageIssue-BugResolution-External labels 2026-01-31 07:30:23 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#21005