-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Description
URL(s)
https://learn.microsoft.com/pl-pl/visualstudio/releases/2026/release-notes
https://dotnet.microsoft.com/en-us/download/dotnet/10.0
Description
Description
I have installed Visual Studio 2026 Enterprise and the .NET 10 SDK. I am experiencing a hard crash whenever I attempt to build a new, empty Class Library project targeting .NET 10.
Both csc.exe (the compiler driver) and VBCSCompiler.exe (the build server) crash with an Access Violation (0xc0000005). The Windows Event Viewer logs indicate the faulting module is coreclr.dll.
Steps to Reproduce
Install Visual Studio 2026 Enterprise with .NET 10 workload.
Create a new empty "Class Library" project targeting .net10.0.
Run dotnet build (or Build in VS).
Actual Behavior
The build fails immediately. Output in Visual Studio / CLI:
Error (active) MSB6006 "csc.exe" exited with code -1073741819. File: ...\Microsoft.CSharp.Core.targets Line: 84
Event Viewer Logs
I have retrieved the crash details from Windows Event Viewer. Both processes crash in coreclr.dll with the same offset.
Log 1: VBCSCompiler.exe crash
Faulting application name: VBCSCompiler.exe, version: 5.0.25.52411, time stamp: 0x68fa0000 Faulting module name: coreclr.dll, version: 10.0.25.52411, time stamp: 0x68fabec4 Exception code: 0xc0000005 Fault offset: 0x00000000000aa8e4 Faulting process id: 0x3b6c Faulting application path: C:\Program Files\dotnet\sdk\10.0.100\Roslyn\bincore\VBCSCompiler.exe Faulting module path: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\10.0.0\coreclr.dll
Log 2: csc.exe crash
Faulting application name: csc.exe, version: 5.0.25.52411, time stamp: 0x68fa0000 Faulting module name: coreclr.dll, version: 10.0.25.52411, time stamp: 0x68fabec4 Exception code: 0xc0000005 Fault offset: 0x00000000000aa8e4 Faulting process id: 0x163c Faulting application path: C:\Program Files\dotnet\sdk\10.0.100\Roslyn\bincore\csc.exe Faulting module path: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\10.0.0\coreclr.dll
Environment data
- Visual Studio: Visual Studio 2026 Enterprise
- .NET SDK: 10.0.100
- Runtime (CoreCLR): 10.0.25.52411
- OS: Windows x64
dotnet --info
`.NET SDK:
Version: 10.0.100
Commit: b0f34d51fc
Workload version: 10.0.100-manifests.5fb86115
MSBuild version: 18.0.2+b0f34d51f
Runtime Environment:
OS Name: Windows
OS Version: 10.0.22000
OS Platform: Windows
RID: win-x64
Base Path: C:\Program Files\dotnet\sdk\10.0.100\
.NET workloads installed:
There are no installed workloads to display.
Configured to use workload sets when installing new manifests.
No workload sets are installed. Run "dotnet workload restore" to install a workload set.
Host:
Version: 10.0.0
Architecture: x64
Commit: b0f34d51fc
.NET SDKs installed:
10.0.100 [C:\Program Files\dotnet\sdk]
.NET runtimes installed:
Microsoft.AspNetCore.App 10.0.0 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 10.0.0 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 10.0.0 [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:
DOTNET_CLI_UI_LANGUAGE [en-US]
DOTNET_GCHeapCount [2]
DOTNET_GCNoAffinitize [1]
DOTNET_MULTILEVEL_LOOKUP [0]
DOTNET_TC_CallCountThreshold [1000]
DOTNET_ThreadPool_UnfairSemaphoreSpinLimit [0]
DOTNET_gcConcurrent [0]
Detected COMPlus_* environment variable(s). Consider transitioning to DOTNET_* equivalent.
global.json file:
Not found`