0

When I'm trying to build an application I get this error:

Error CS0041 Unexpected error writing debug information -- 'Unable to load DLL 'Microsoft.DiaSymReader.Native.amd64.dll': Cannot find a module. (Exception from HRESULT: 0x8007007E)'.

It happens only while building C# console application. I'm using Visual Studio 2017 Community.

EDIT: Repairing application solved the problem.

Alienown
  • 137
  • 2
  • 9
  • Maybe you need to add this package `Microsoft.NETCore.Platforms`. – Llazar Sep 13 '18 at 19:49
  • Possible of duplicate https://stackoverflow.com/a/40648121/4588756 – Hossein Sep 13 '18 at 19:52
  • I've installed Microsoft.DiaSymReader.Native via package manager console. But build still doesn't work... Same error over and over again. @Llazar also tried adding Microsoft.NETCore.Platforms package - didn't help. – Alienown Sep 13 '18 at 19:58

0 Answers0