You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[NETSDKE2E][Intermittent]With NET11 preview 4 SDK installed, "Unhandled exception. System.ObjectDisposedException: Cannot access a disposed object." happens when repairing android wasm-tools in CLI #54079
Repro steps:
1.dotnet workload install wasm-tools --skip-manifest-update
2.dotnet workload install android --skip-manifest-update
3.Navigate to the where some of the workload packs were installed
C:\Program Files\dotnet\packs\Microsoft.NET.Runtime.MonoAOTCompiler.Task\11.0.0-preview.4.26224.122\Sdk and delete a number of random files
4.Execute: dotnet workload repair
Expected Result:
Android wasm-tools repair successfully and the output shows correctly.
Actual Result:
Install Android wasm-tools successfully, but below message displayed.
Unhandled exception. System.ObjectDisposedException: Cannot access a disposed object.
Object name: 'System.Collections.Concurrent.BlockingCollection`1[[System.String, System.Private.CoreLib, Version=11.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]'.
at Microsoft.DotNet.Cli.Installer.Windows.TimestampedFileLogger.WriteMessage(String message)
at Microsoft.DotNet.Cli.Installer.Windows.TimestampedFileLogger.ProcessLogRequests(Object logPipeName)
at System.Threading.Thread.StartHelper.Callback(Object state)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)
--- End of stack trace from previous location ---
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state)at System.Threading.Thread.StartCallback(Thread* pThread)
Runtime Environment:
OS Name: Windows
OS Version: 10.0.26200
OS Platform: Windows
RID: win-x64
Base Path: C:\Program Files\dotnet\sdk\11.0.100-preview.4.26224.122\
.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.
Activity
xianyoong commentedon Apr 27, 2026
similar issue: [[NETSDKE2E][Intermittent]With NET8 preview 1 SDK installed, "Unhandled exception. System.ObjectDisp…](fixed and closed)
Wycc20 commentedon May 6, 2026
Not repro on 11.0.100-preview.4.26230.115.
vwenchen commentedon May 26, 2026
Meet this issue on 11.0.0-preview.5.26275.101

xianyoong commentedon Jun 4, 2026
this issue repro on 11.0.100-preview.5.26302.115
vwenchen commentedon Jun 11, 2026
Not repro on 11.0.100-preview.6.26310.110