Description
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