MSBuildWorkspace tests fail with ProjectCacheService DisposeAsync TypeLoadException
Build Information
Build: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1610531 Leg Name: Test Windows CoreClr Debug Single Machine
This failure affected 1,835 test results across 12 builds targeting release/dev17.11, release/dev17.12, and release/dev17.14 in the current Tiger retention window.
Error Message
{
"ErrorMessage": "Microsoft.CodeAnalysis.MSBuild.RemoteInvocationException : An exception of type System.TypeLoadException was thrown: Method 'DisposeAsync' in type 'Microsoft.Build.Experimental.ProjectCache.ProjectCacheService' from assembly 'Microsoft.Build, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' does not have an implementation.",
"BuildRetry": false,
"ErrorPattern": "",
"ExcludeConsoleLog": false
}Known issue validation
Build: :mag_right: https://dev.azure.com/dnceng-public/public/_build/results?buildId=1610531
Error message validated: [Microsoft.CodeAnalysis.MSBuild.RemoteInvocationException : An exception of type System.TypeLoadException was thrown: Method 'DisposeAsync' in type 'Microsoft.Build.Experimental.ProjectCache.ProjectCacheService' from assembly 'Microsoft.Build, Version=15.1.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' does not have an implementation.]
Result validation: :white_check_mark: Known issue matched with the provided build.
Validation performed at: 9/30/2026 5:08:27 PM UTC
Report
| Build | Repository | Test | Pull Request |
|---|---|---|---|
| 1610531 | dotnet/roslyn | Microsoft.CodeAnalysis.MSBuild.UnitTests.VisualStudioMSBuildWorkspaceTests.TestOpenProject_CSharp_WithMissingDebugType |
Summary
| 24-Hour Hit Count | 7-Day Hit Count | 1-Month Count |
|---|---|---|
| 0 | 1 | 1 |
Source: dotnet/roslyn