question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unable to load DLL 'Microsoft.DiaSymReader.Native.amd64.dll'

See original GitHub issue

Steps to reproduce

project.json

{
  "version": "1.0.0-*",
  "dependencies": {
    "dotnet-test-xunit": "1.0.0-*",
    "xunit": "2.1.0"
  },
  "testRunner": "xunit",
  "frameworks": {
    "netcoreapp1.0": {
      "imports": [ "dnxcore50", "portable-net45+win8" ],
      "Microsoft.NETCore.App": {
        "type": "platform",
        "version": "1.0.0-*"
      }
    },
    "net451": { },
    "net452": { },
    "net46": { },
    "net461": { }
  }
}

Commands to run:

dotnet restore --infer-runtimes
dotnet test

Expected behavior

Tests are run for all frameworks (there are 5 of them)

Actual behavior

Tests run for only netcoreapp. For other frameworks it throws exception:

xUnit.net Runner (64-bit win7-x64)
System.DllNotFoundException: Unable to load DLL 'Microsoft.DiaSymReader.Native.amd64.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)

Environment data

dotnet --info output: Machine 1:

.NET Command Line Tools (1.0.0-rc2-002673)

Product Information:
 Version:     1.0.0-rc2-002673
 Commit Sha:  c0aeb91d61

Runtime Environment:
 OS Name:     Windows
 OS Version:  6.1.7601
 OS Platform: Windows
 RID:         win7-x64

Machine 2:

.NET Command Line Tools (1.0.0-rc2-002678)

Product Information:
 Version:     1.0.0-rc2-002678
 Commit Sha:  3b2ea9d14b

Runtime Environment:
 OS Name:     Windows
 OS Version:  10.0.10586
 OS Platform: Windows
 RID:         win10-x64

What am I missing here?

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
natemcmastercommented, Jun 14, 2016

@alexandru-calinoiu it’s one of those magical, internal, undocumented things. http://www.natemcmaster.com/blog/2016/05/19/nuget3-rid-graph/

0reactions
mkumar100commented, Aug 28, 2018

I am working on TesseractEngine in a Console application. I have added Microsoft.NETCore.Platforms to the solution, through Nuget. While building it, I get the error: Unable to load DLL 'Microsoft.DiaSymReader.Native.amd64.dll I have attached Program.cs as Program.txt for your reference. Program.txt Please help here.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to load DLL 'Microsoft.DiaSymReader.Native. ...
I have tried to install dll from nuget (Could not find Microsoft.DiaSymReader.Native.x86.dll). but no luck. environment: Windows 7 VisualStudio ...
Read more >
"Unable to load DLL Microsoft.DiaSymReader.Native. ...
Microsoft.DiaSymReader.Native.amd64.dll stops showing up in the net472 build output as soon as any referenced package is using a netstandard2.0.
Read more >
[SOLVED] How To Fix Microsoft.DiaSymReader.Native.amd64 ...
Microsoft.DiaSymReader.Native.amd64.dll issues are often the result of missing, deleted, or being moved from it's original RoboHelp Office 2019 WIN ESD ALL DLL ......
Read more >
microsoft.diasymreader.native.amd64.dll free download
In the vast majority of cases, the solution is to properly reinstall microsoft.diasymreader.native.amd64.dll on your PC, to the Windows system folder.
Read more >
Unable to load Microsoft.Diasymreader
Your open channel to Microsoft engineering teams ... DiaSymReader.Native.amd64.dll': The specified module could not be found.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found