Skip to content

AspnetCore application tries to load Microsoft.DiaSymReader.Native.amd64.dll at runtime on centos linux #92278

Closed
@neyromant

Description

@neyromant

Description

I ran my aspnet core application on centos linux using the LL_DEBUG=libs command and found that it was unsuccessfully trying to load the Microsoft.DiaSymReader.Native.amd64.dll library. This does not lead to any visible consequences, but I would like to understand the reasons for this behavior.
After all, Microsoft.DiaSymReader.Native.amd64.dll is a windows-only library

Can someone tell me what is the reason for this behavior and how to avoid it?

Thanks in advance for any answer.

Reproduction Steps

Build self contained asp.net core app, run it on linux centos by LL_DEBUG=libs ./my-app

Expected behavior

An application does not try to load Microsoft.DiaSymReader.Native.amd64.dll on linux

Actual behavior

Application tries to load Microsoft.DiaSymReader.Native.amd64.dll on linux

Regression?

No response

Known Workarounds

No response

Configuration

.net 7
centos 9
x64

Other information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-Diagnostics-coreclrenhancementProduct code improvement that does NOT require public API changes/additions

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions