dotnet / dotnet/sdk

Pdb file for assembly /usr/local/share/dotnet/x64/shared/Microsoft.NETCore.App/8.0.8/System.Private.CoreLib.dll was not found or failed to read

Open
#43,206 0 comments 0 reactions 0 assignees View on GitHub
Area-NetSDK untriaged
Dominant language
C#
Stars
3.2k
Forks
1.3k
PR merge metrics
PR metrics pending

Description

### Describe the bug
Environment: Mac with .NET 8 SDK (x64).
When in debugging mode received the following error:
Pdb file for assembly /usr/local/share/dotnet/x64/shared/Microsoft.NETCore.App/8.0.8/System.Private.CoreLib.dll was not found or failed to read
Seems .Net 8 SDK for Mac (x64) version doesn't include System.Private.CoreLib.dll. I checked the same for .NET 6, the mentioned dll is in place.

### To Reproduce

1. install x64 .Net SDK on Mac
2. /usr/local/share/dotnet/x64/shared/Microsoft.NETCore.App/8.0.8/System.Private.CoreLib.dll is not in place as .Net 6

### Exceptions (if any)

### Further technical details
- Include the output of `dotnet --info`
.NET SDK:
Version: 8.0.401
Commit: 811edcc344
Workload version: 8.0.400-manifests.b6724b7a
MSBuild version: 17.11.4+37eb419ad

Runtime Environment:
OS Name: Mac OS X
OS Version: 14.6
OS Platform: Darwin
RID: osx-x64
Base Path: /usr/local/share/dotnet/x64/sdk/8.0.401/

.NET workloads installed:
Configured to use loose manifests when installing new manifests.
There are no installed workloads to display.

Host:
Version: 8.0.8
Architecture: x64
Commit: 08338fcaa5

.NET SDKs installed:
6.0.425 [/usr/local/share/dotnet/x64/sdk]
8.0.401 [/usr/local/share/dotnet/x64/sdk]

.NET runtimes installed:
Microsoft.AspNetCore.App 6.0.33 [/usr/local/share/dotnet/x64/shared/Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 8.0.8 [/usr/local/share/dotnet/x64/shared/Microsoft.AspNetCore.App]
Microsoft.NETCore.App 8.0.8 [/usr/local/share/dotnet/x64/shared/Microsoft.NETCore.App]

Other architectures found:
arm64 [/usr/local/share/dotnet]
registered at [/etc/dotnet/install_location_arm64]

Environment variables:
DOTNET_ROOT [/usr/local/share/dotnet/x64/dotnet/]

global.json file:
Not found

Learn more:
https://aka.ms/dotnet/info

Download .NET:
https://aka.ms/dotnet/download

- The IDE (VS / VS Code/ VS4Mac) you're running on, and its version
- vs code:
- Version: 1.92.2
Commit: fee1edb8d6d72a0ddff41e5f71a671c23ed924b9
Date: 2024-08-14T17:29:30.058Z (2 wks ago)
Electron: 30.1.2
ElectronBuildId: 9870757
Chromium: 124.0.6367.243
Node.js: 20.14.0
V8: 12.4.254.20-electron.0
OS: Darwin x64 23.6.0

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.