启动注册期间无法加载程序集“System.Buffers"

编程入门 行业动态 更新时间:2024-10-21 06:35:51
本文介绍了启动注册期间无法加载程序集“System.Buffers"的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

限时送ChatGPT账号..

我的 Xamarin 表单应用程序在 5 分钟前运行,然后突然停止工作.应用程序启动后立即关闭.下面显示了 Visual Studio 输出中的消息显示,

My Xamarin form apps was running like 5 minutes ago then all of sudden it stop working. The apps close instantly after it started. Below shows message display at Visual studio output,

Assembly Loader probing location: 'System.Buffers'.
Could not load assembly 'System.Buffers' during startup registration.
This might be due to an invalid debug installation.
 A common cause is to 'adb install' the app directly instead of doing from the IDE.

我尝试过但未能解决问题的事情,

Things that I tried but failed to resolve the problem,

从 Nuget 包重新安装 System.Buffer.清理android的bin和obj文件夹在 Android 选项中未选中使用共享运行时清洁解决方案和重建解决方案

我提到的论坛

https://forums.xamarin/discussion/115983/stuck-on-error-could-not-load-assembly-system-buffers-during-startup-registrationhttps:///forums.xamarin/discussion/63584/android-could-not-load-assembly-xxx-during-startup-registrationhttps://bugzilla.xamarin/show_bug.cgi?id=44518

谁能帮帮我?提前致谢

推荐答案

我从 论坛.

卸载 System.Buffer 并使用 NuGet 包安装 System.Memory 到您的项目并完成.希望能帮到你.

Uninstall System.Buffer and install System.Memory using NuGet package to your project and its done. Hope it helps you.

这篇关于启动注册期间无法加载程序集“System.Buffers"的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

更多推荐

[db:关键词]

本文发布于:2023-04-24 17:59:20,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1068512.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:加载   程序   System   Buffers   quot

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!