[英]Endless Errors with Xamarin when installing NuGet package
I tried to install a NuGet for Splash Screen for Xamarin.Forms but this package broke my working app and it became a loop of errors.我尝试为 Xamarin.Forms 安装一个 NuGet for Splash Screen,但这个包破坏了我的工作应用程序,它变成了一个错误循环。 One error says:
一个错误说:
Install Xamarin.Android.Support.Compat 27.0.2.1
安装 Xamarin.Android.Support.Compat 27.0.2.1
when I tried to install Xamarin.Android.Support.Compat 27.0.2.1 other error says:当我尝试安装 Xamarin.Android.Support.Compat 27.0.2.1 时,其他错误说:
Install Xamarin.Android.Support.Core.UI 27.0.2.1
安装 Xamarin.Android.Support.Core.UI 27.0.2.1
but when I tried to install Xamarin.Android.Support.Core.UI it says again:但是当我尝试安装 Xamarin.Android.Support.Core.UI 时,它又说:
Install Xamarin.Android.Support.Compat 27.0.2.1.
安装 Xamarin.Android.Support.Compat 27.0.2.1。
I mean what the heck is this?我的意思是这是什么鬼? whats wrong with that VS.
那个VS有什么问题。 It's really annoying that I encounter this situation several times.
好几次遇到这种情况,真的很烦。 Is there any solution to this endless loop?
这个无限循环有什么解决办法吗?
删除所有 Xamarin.Android.* 包并仅安装:
<PackageReference Include=“Xamarin.Android.Support.Core.Utils” Version=“28.0.0.3" />
I have tried few things but I found the solution with the creating new project and transport all the codes to that new project.我尝试了几件事,但我找到了创建新项目并将所有代码传输到该新项目的解决方案。 It is exhaustive but It worked.
这是详尽的,但它奏效了。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.