本文介绍了启动注册期间无法加载程序集“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:关键词]
发布评论