Skip to content

Could not load file or assembly 'System.Runtime.CompilerServices.Unsafe, Version=6.0.1.0 on Framework leg #48036

@Forgind

Description

@Forgind

Build Information

Build: https://dev.azure.com/dnceng-public/cbb18261-c48f-4abb-8651-8cdcb5474649/_build/results?buildId=999341
Build error leg or test failing: dotnet.Tests.dll.10.WorkItemExecution
Pull request: #48022

Error Message

Fill the error message using step by step known issues guidance.

{
  "ErrorMessage": "System.TypeInitializationException: The type initializer for 'System.Text.Encodings.Web.DefaultJavaScriptEncoder' threw an exception. ---> System.IO.FileNotFoundException: Could not load file or assembly 'System.Runtime.CompilerServices.Unsafe, Version=6.0.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.",
  "ErrorPattern": "",
  "BuildRetry": false,
  "ExcludeConsoleLog": false
}

Known issue validation

Build: 🔎 https://dev.azure.com/dnceng-public/public/_build/results?buildId=999341
Error message validated: [System.TypeInitializationException: The type initializer for 'System.Text.Encodings.Web.DefaultJavaScriptEncoder' threw an exception. ---> System.IO.FileNotFoundException: Could not load file or assembly 'System.Runtime.CompilerServices.Unsafe, Version=6.0.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.]
Result validation: ✅ Known issue matched with the provided build.
Validation performed at: 3/31/2025 6:10:46 PM UTC

Report

Build Definition Test Pull Request
1006059 dotnet/sdk Microsoft.NET.Sdk.Razor.Tests.dll.7.WorkItemExecution #48034
1005479 dotnet/sdk Microsoft.NET.Sdk.Razor.Tests.dll.7.WorkItemExecution #48034
1005022 dotnet/sdk Microsoft.NET.Build.Tests.dll.13.WorkItemExecution #48034
1003621 dotnet/sdk Microsoft.NET.Sdk.Razor.Tests.dll.7.WorkItemExecution #48034
1002015 dotnet/sdk Microsoft.DotNet.Cli.Test.Tests.GivenDotnetTestBuildsAndRunsTestfromCsprojWithCorrectTestRunParameters.Microsoft.DotNet.Cli.Test.Tests.GivenDotnetTestBuildsAndRunsTestfromCsprojWithCorrectTestRunParameters.GivenADllAndMultipleTestRunParametersItPassesThemToVStestConsoleInTheCorrectFormat #48034
1001453 dotnet/sdk Microsoft.DotNet.Cli.Test.Tests.GivenDotnetTestBuildsAndRunsTestfromCsprojWithCorrectTestRunParameters.Microsoft.DotNet.Cli.Test.Tests.GivenDotnetTestBuildsAndRunsTestfromCsprojWithCorrectTestRunParameters.GivenADllAndMultipleTestRunParametersItPassesThemToVStestConsoleInTheCorrectFormat #48034
1000499 dotnet/sdk Microsoft.NET.Sdk.BlazorWebAssembly.Tests.dll.1.WorkItemExecution #48034
999715 dotnet/sdk Microsoft.DotNet.Cli.Test.Tests.GivenDotnetTestBuildsAndRunsTestfromCsprojWithCorrectTestRunParameters.Microsoft.DotNet.Cli.Test.Tests.GivenDotnetTestBuildsAndRunsTestfromCsprojWithCorrectTestRunParameters.GivenADllAndMultipleTestRunParametersItPassesThemToVStestConsoleInTheCorrectFormat #48034
999341 dotnet/sdk Microsoft.NET.ToolPack.Tests.dll.1.WorkItemExecution #48022

Summary

24-Hour Hit Count 7-Day Hit Count 1-Month Count
0 9 9

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions