在调试符号期间无法读取 SQLite-net.dll [英] Failed to read SQLite-net.dll during debugging symbols

查看:37
本文介绍了在调试符号期间无法读取 SQLite-net.dll的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试在 Visual Studio 中使用 xamarin 表单构建应用程序并在 android 模拟器上部署时,会出现此警告.

When I try build application using xamarin forms in visual studio and deploy on android emulator this warning appears.

无法读取带有调试符号的G:\ApkiC-Sharp\GNote\GNote\GNote.Android\obj\Debug\android\assets\SQLite-net.dll".在没有它的情况下重试加载它.错误详细信息记录在下面.GNote.Android

Failed to read 'G:\ApkiC-Sharp\GNote\GNote\GNote.Android\obj\Debug\android\assets\SQLite-net.dll' with debugging symbols. Retrying to load it without it. Error details are logged below. GNote.Android

详情如下:

严重性代码描述项目文件行抑制状态警告 Mono.CompilerServices.SymbolWriter.MonoSymbolFileException:符号文件 G:\ApkiC-Sharp\GNote\GNote\GNote.Android\obj\Debug\android\assets\SQLite-net.dll.mdb' 与程序集不匹配在 Mono.CompilerServices.SymbolWriter.MonoSymbolFile.ReadSymbolFile(String mdbFilename, Guid assemblyGuid)在 Mono.Cecil.Mdb.MdbReaderProvider.GetSymbolReader(ModuleDefinition module, String fileName)在 Mono.Cecil.Cil.DefaultSymbolReaderProvider.GetSymbolReader(ModuleDefinition module, String fileName)在 Mono.Cecil.ModuleReader.ReadSymbols(ModuleDefinition 模块,ReaderParameters 参数)在 Mono.Cecil.ModuleReader.CreateModule(Image image, ReaderParameters 参数)在 Mono.Cecil.ModuleDefinition.ReadModule(Disposable1 stream, String fileName, ReaderParameters 参数)在 Mono.Cecil.ModuleDefinition.ReadModule(String fileName, ReaderParameters 参数)在 Mono.Cecil.AssemblyDefinition.ReadAssembly(String fileName, ReaderParameters 参数)在 Java.Interop.Tools.Cecil.DirectoryAssemblyResolver.ReadAssembly(String file) GNote.Android

Severity Code Description Project File Line Suppression State Warning Mono.CompilerServices.SymbolWriter.MonoSymbolFileException: Symbol file G:\ApkiC-Sharp\GNote\GNote\GNote.Android\obj\Debug\android\assets\SQLite-net.dll.mdb' does not match assembly at Mono.CompilerServices.SymbolWriter.MonoSymbolFile.ReadSymbolFile(String mdbFilename, Guid assemblyGuid) at Mono.Cecil.Mdb.MdbReaderProvider.GetSymbolReader(ModuleDefinition module, String fileName) at Mono.Cecil.Cil.DefaultSymbolReaderProvider.GetSymbolReader(ModuleDefinition module, String fileName) at Mono.Cecil.ModuleReader.ReadSymbols(ModuleDefinition module, ReaderParameters parameters) at Mono.Cecil.ModuleReader.CreateModule(Image image, ReaderParameters parameters) at Mono.Cecil.ModuleDefinition.ReadModule(Disposable1 stream, String fileName, ReaderParameters parameters) at Mono.Cecil.ModuleDefinition.ReadModule(String fileName, ReaderParameters parameters) at Mono.Cecil.AssemblyDefinition.ReadAssembly(String fileName, ReaderParameters parameters) at Java.Interop.Tools.Cecil.DirectoryAssemblyResolver.ReadAssembly(String file) GNote.Android

我该如何解决?

谢谢

推荐答案

试试看:右键单击您的 android 项目属性 -> Android 选项 -> 将链接"下拉至无.

Try it: Right click your android project Properties -> Android Options -> drop down "Linking" to None.

它将包含包装上的符号,但会增加您的应用程序大小.

It will include the symbols on package, but will increase your app size.

我正在尝试寻找另一个更好的解决方案,但目前有效.

I'm trying to find another better solution, but this works for now.

这篇关于在调试符号期间无法读取 SQLite-net.dll的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆