微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

无法加载文件或程序集“ Xamarin.iOS”或其依赖项之一无法验证强名称签名HRESULT:0x80131045

如何解决无法加载文件或程序集“ Xamarin.iOS”或其依赖项之一无法验证强名称签名HRESULT:0x80131045

我已经搜索了,但是找不到解决方案 我在Visual Studio中拥有一个Xamarin Forms App,所以我的解决方案中有5个项目:

awk 'NR==FNR { arr[$1]="1" } NR != FNR { if (arr[$1] == "") { print $0 } } ' file2 file1

我仅使用MagCoils,MagCoils.Android和MagCoils.WebService ...从未测试过iOS和UWP。 将窗体从Visual Studio 2017社区切换到Visual Studio 2019社区并升级一些程序包后....当我将MagCoils.WebService设置为StartUp项目并使用Chrome对其进行调试时,我在此页面中运行错误,无法加载文件或程序集'Xamarin。 iOS”或其依赖项之一。

我不知道如何继续解决错误,我对Xamarin,C#和WebSerivice还是陌生的,但是此项目/解决方案在升级之前始终可以正常工作,但是我不知道哪个升级原因是我的问题。

程序集加载跟踪

MagCoils
MagCoils.Android
MagCoils.iOS
MagCoils.UWP
MagCoils.WebService

堆栈跟踪:

Assembly manager loaded from: C: \ Windows \ Microsoft.NET \ Framework \ v4.0.30319 \ clr.dll
Running with the executable C: \ Program Files (x86) \ IIS Express \ iisexpress.exe
Detailed error log follows.

information about the pre-association status
REG: displayName = Xamarin.iOS
 (Partial)
AVV: Partial binding information specified for an assembly:
AVV: assembly name: Xamarin.iOS | Domain ID: 3
AVV: Partial association occurs when only part of the assembly display name is specified.
AVV: This Could cause the binder to load an incorrect assembly.
AVV: It is advisable to specify a full text identity for the assembly,AVV - Consists of the simple name,version,culture,and public key token.
AVV: For more information and common solutions to this issue,see the white paper http://go.microsoft.com/fwlink/?LinkId=109270.
REG: Appbase = file: /// F: / C Programs / MagCoils / MagCoils / MagCoils.WebService /
REG: Initial PrivatePath = F: \ Program Files C \ MagCoils \ MagCoils \ MagCoils.WebService \ bin
Calling assembly: (UnkNown).

REG: The association originates in the default load context.
REG: using the application configuration file: F: \ Program Files C \ MagCoils \ MagCoils \ MagCoils.WebService \ web.config
REG: using host configuration file: C: \ Users \ arglu \ Documents \ IISExpress \ config \ aspnet.config
REG: Using the computer configuration file from C: \ Windows \ Microsoft.NET \ Framework \ v4.0.30319 \ config \ machine.config.
LOG: Policies are not currently applied to the reference (private,custom,partial,or path-based assembly binding).
REG: Attempt to download new URL file: /// C: / Users / arglu / AppData / Local / Temp / Temporary ASP.NET Files / vs / 859f2ce6 / 8d561023 / Xamarin.iOS.DLL.
REG: Attempt to download new URL file: /// C: / Users / arglu / AppData / Local / Temp / Temporary ASP.NET Files / vs / 859f2ce6 / 8d561023 / Xamarin.iOS / Xamarin.iOS.DLL.
REG: Attempt to download new URL file: /// F: / C Programs / MagCoils / MagCoils / MagCoils.WebService / bin / Xamarin.iOS.DLL.
REG: using the application configuration file: F: \ Program Files C \ MagCoils \ MagCoils \ MagCoils.WebService \ web.config
REG: using host configuration file: C: \ Users \ arglu \ Documents \ IISExpress \ config \ aspnet.config
REG: Using the computer configuration file from C: \ Windows \ Microsoft.NET \ Framework \ v4.0.30319 \ config \ machine.config.
REG: post-criteria reference: Xamarin.iOS,Version = 0.0.0.0,Culture = neutral,PublicKeyToken = 84e04ff9cfb79065
ERR: The assembly installation Could not be completed (hr = 0x80131045). The survey has been completed.

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。