VS2012与Xamarin 3,在将MvvmCross 3.1.1 nuget包添加到android项目时*

时间:2021-04-26 23:09:28

I've recently upgraded the Xamarin to the new version (Xamarin 3). After this update, everytime I try to add the MvvmCross 3.1.1 nuget package to an android project, the VS2012 freezes (In the dialog window when he's trying to resolve and add the references).

我最近将Xamarin升级到了新版本(Xamarin 3)。在此更新之后,每当我尝试将MvvmCross 3.1.1 nuget包添加到android项目时,VS2012就会冻结(在他试图解析并添加引用时在对话框窗口中)。

Can this be an issue with the nuget package? I haven't seen anyone complain about this, so I'm more inclined to say that there may be something wrong in my xamarin instalation, but first I would like to know if anyone else had this problem...

这可能是nuget包的问题吗?我没有看到有人抱怨这个,所以我更倾向于说我的xamarin安装可能有问题,但首先我想知道是否有其他人有这个问题...

1 个解决方案

#1


3  

I had a similar problem with a Xamarin update. Make sure you have the latest Android SDK Tools and Android SDK Build Tools installed. The reason it hangs is that MvvmCross adds resources to your project and if you don't have the correct resource compiler from the SDK, it fails and hangs.

我在Xamarin更新时遇到了类似的问题。确保安装了最新的Android SDK工具和Android SDK Build Tools。它挂起的原因是MvvmCross为您的项目添加资源,如果您没有从SDK中获得正确的资源编译器,它将失败并挂起。

#1


3  

I had a similar problem with a Xamarin update. Make sure you have the latest Android SDK Tools and Android SDK Build Tools installed. The reason it hangs is that MvvmCross adds resources to your project and if you don't have the correct resource compiler from the SDK, it fails and hangs.

我在Xamarin更新时遇到了类似的问题。确保安装了最新的Android SDK工具和Android SDK Build Tools。它挂起的原因是MvvmCross为您的项目添加资源,如果您没有从SDK中获得正确的资源编译器,它将失败并挂起。