找不到 Microsoft.DiaSymReader.Native.x86.dll

Could not find Microsoft.DiaSymReader.Native.x86.dll(找不到 Microsoft.DiaSymReader.Native.x86.dll)
本文介绍了找不到 Microsoft.DiaSymReader.Native.x86.dll的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用 Mono 在 Rider 中构建一个项目,但我会不断收到此错误:

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

错误 CS0041:写入调试信息时出现意外错误 -- 'WindowsPDB 编写器不可用 - 找不到Microsoft.DiaSymReader.Native.x86.dll'

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

有人知道我为什么会收到这个错误吗?我试过在网上搜索它,但我能找到的只是以前的 SO 问题,但从未得到回答:Monodevelop构建失败,找不到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.

推荐答案

对,库存在.但在 Visual Studio 上,使用 NuGet link to nuget package 它将添加参考并在构建后将 Microsoft.DiaSymReader.Native.(arch).dll 添加到//debug 中.所以,你必须想办法得到这样的.dll.

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.

一旦你有了你需要的带有拱门的 .dll.继续添加作为 Monodevelop 查看此 dll 的外部参考.

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

开始构建.

这篇关于找不到 Microsoft.DiaSymReader.Native.x86.dll的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持编程学习网!

本站部分内容来源互联网,如果有图片或者内容侵犯您的权益请联系我们删除!

相关文档推荐

DispatcherQueue null when trying to update Ui property in ViewModel(尝试更新ViewModel中的Ui属性时DispatcherQueue为空)
Drawing over all windows on multiple monitors(在多个监视器上绘制所有窗口)
Programmatically show the desktop(以编程方式显示桌面)
c# Generic Setlt;Tgt; implementation to access objects by type(按类型访问对象的C#泛型集实现)
InvalidOperationException When using Context Injection in ASP.Net Core(在ASP.NET核心中使用上下文注入时发生InvalidOperationException)
LINQ many-to-many relationship, how to write a correct WHERE clause?(LINQ多对多关系,如何写一个正确的WHERE子句?)