"XamarinShellPackage"未正确加载. [英] The 'XamarinShellPackage' did not load correctly.

查看:149
本文介绍了"XamarinShellPackage"未正确加载.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试使用修改"将Xamarin安装在VS 2015更新3,版本14.0.25431.01上.在Visual Studio安装程序上,然后添加"C#/.NET(Xamarin v4.2.1)"组件.

I'm trying to get Xamarin installed on VS 2015, update 3, version 14.0.25431.01 using "Modify" on the Visual Studio setup program, and adding "C#/.NET (Xamarin v4.2.1)" component.

但是,当所有操作完成后,我重新启动VS时,出现弹出异常对话框,提示"XamarinShellPackage"未正确加载.

But when it is all done and I restart VS I get popup exception dialog saying The 'XamarinShellPackage' did not load correctly.

在调试时,我在MEF组合中看到以下未处理的异常:

In debugging this I see the following unhandled exception inside MEF composition:

程序集"Xamarin.VisualStudio.Android,版本= 4.2.1.62,文化=中性,PublicKeyToken = 0738eb9f132ed756"中的类型"Xamarin.VisualStudio.Android.MonoAndroidDesignerInterface"中的方法"GetCustomViewBaseMapping"没有实现

哪个原因导致   Xamarin.VisualStudio.dll!Xamarin.VisualStudio.TastyPackage.Initialize()  (c:\ data \ lanes \ 3513 \ 680125b0 \ source \ xamarinvs \ src \ Core \ VisualStudio \ FlavorProject \ TastyPackage.cs)运行到'System.Reflection.ReflectionTypeLoadException' 在mscorlib.dll中.

Which is causing   Xamarin.VisualStudio.dll!Xamarin.VisualStudio.TastyPackage.Initialize()  (c:\data\lanes\3513\680125b0\source\xamarinvs\src\Core\VisualStudio\FlavorProject\TastyPackage.cs) to run into a 'System.Reflection.ReflectionTypeLoadException' in mscorlib.dll.

有人可以修复MonoAndroidDesignerInterface,以便实现"GetCustomViewBaseMapping"方法吗?

Can someone fix the MonoAndroidDesignerInterface so the method 'GetCustomViewBaseMapping'  is implemented ?

(因为这是在抱怨Android事情,所以我也尝试安装了不同的Android SDK,因为安装程序提供了4个不同的版本,但似乎没有帮助).

(since this is complaining about an Android thing I tried different Android SDK installs also, since the setup offers 4 different versions, but didn't seem to help).

推荐答案

克里斯,

感谢您发布MSDN论坛.

Thank you for posting MSDN forum.

对于此问题,请尝试使用以下msi:

For this issue, please have a try about the following msi:

http://xvs.xamarin.com/Xamarin.VisualStudio_3 .11.524.msi

然后尝试执行以下步骤:

Then try following steps:

1.关闭Visual Studio的所有实例

1. Close all instances of Visual Studio

2.删除此文件夹中的所有内容 C:\ Users \%username \ AppData \ Local \ Microsoft \ VisualStudio \ 14.0 \ ComponentModelCache

2. Delete everything in this folder  C:\Users\%username\AppData\Local\Microsoft\VisualStudio\14.0\ComponentModelCache

3.重新启动Visual Studio

3. Restart Visual Studio

此外,由于您的问题与加载XamarinShellPackage有关,我建议您可以 Xamarin  论坛以提供专门的支持.

Besides, as your question is related to loading XamarinShellPackage, I suggest you could Xamarin forum for dedicated support.

谢谢您的理解.

最好的问候,


这篇关于"XamarinShellPackage"未正确加载.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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