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


I am working on a project which is built under 4.7.1. when I rebuild the solution, getting following error.

Error CS0041 Unexpected error writing debug information -- 'Unable to load DLL 'Microsoft.DiaSymReader.Native.amd64.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)' project name Location name\CSC 1 N/A

I have tried to install dll from nuget (Could not find Microsoft.DiaSymReader.Native.x86.dll). but no luck.


Windows 7 VisualStudio 2017 community edition.

asked on Stack Overflow Dec 28, 2018 by Thota Suvarsha • edited Jan 15, 2019 by ekad

2 Answers


Try deleting it


When the attribute of Deterministic is set to true, the DLL / EXE files generated by your program compilation will be determined. The HASH values of these files are the same no matter how many times they are regenerated. This is a great feature, but at the same time it can cause compilation errors. You can refer to this blog for more details blog.paranoidcoding.com/2016/04/05/….

answered on Stack Overflow Dec 28, 2018 by Stone • edited Mar 19, 2019 by psaxton

User contributions licensed under CC BY-SA 3.0