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.
environment:
Windows 7 VisualStudio 2017 community edition.
Try deleting it
<PropertyGroup>
<Deterministic>true</Deterministic>
</PropertyGroup>
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/….
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With