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

2019-02-08 18:44发布

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.

标签: c# dll mono rider
1条回答
Juvenile、少年°
2楼-- · 2019-02-08 19:11

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.

查看更多
登录 后发表回答