Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Could not find Microsoft.DiaSymReader.Native.x86.dll

Tags:

c#

mono

dll

rider

I'm trying to build a project in Rider using Mono and I can keep on getting this error:

Error CS0041: Unexpected error writing debug information -- 'Windows PDB writer is not available -- could not find Microsoft.DiaSymReader.Native.x86.dll'

Does anybody have any idea why I'm getting this error? I've tried searching for it online and all I could find was a previous SO question that never got answered: Monodevelop fails to build, can't find Microsoft.DiaSymReader.Native.x86.dll' I have no idea where to start. Any help would be appreciated.

like image 645
Nathan Bierema Avatar asked Aug 16 '16 02:08

Nathan Bierema


1 Answers

Right, the library exists. but on Visual Studio, using NuGet link to nuget package it will add the reference and add the Microsoft.DiaSymReader.Native.(arch).dll into //debug, once you build it. So, you must find the way to get such .dll.

Once you have the .dll with the arch you need. Proceed to add as a external reference on Monodevelop see this the dll.

Begin to build.

like image 89
Allan Ramirez Avatar answered Nov 15 '22 18:11

Allan Ramirez