我需要帮助处理Xamarin表格。我有一个在VisualStudio2017(15.9.13版)中开发的Xamarin应用程序。我正面临以下编译错误。我已经用其他团队成员更新的Git的最新版本更新了我的代码。在那之后,我无法编译。
错误XA2002:无法解析引用:System.Threading.Tasks.Extensions,由System.Reactive引用。请为NuGet添加System.Threading.Tasks.Extensions包或程序集引用,或删除对System.Reactive的引用。
我试图通过NuGet安装下面的库,但也有相同的错误。
我已经用最新版本更新了我的VS2017。
\程序文件(x86)\Microsoft Visual x86错误XA2002:无法解析引用:System.Threading.Tasks.Extensions,由System.Reactive引用。请为NuGet添加System.Threading.Tasks.Extensions包或程序集引用,或删除对System.Reactive的引用。
发布于 2019-06-25 12:17:54
试一试其中一种:
System.Threading.Tasks.Extension的评级从4.5.1降至4.4.0,并与:一起使用System.Reactive 4.1.0 (latest)System.Reactive.Interfaces 4.1.0 (latest)System.Reactive.Linq 4.1.0( latest)System.Reactive.PlatformServices (latest)System.Threading 4.3.0 (latest)System.Threading.Taks 4.3.0 (latest)System.Threading.Tasks.Extensions 4.4.0 (downgraded)
System.Threading.Tasks.Extensions升级,将System.Runtime.CompilerServices.Unsafe安装到所有安卓、iOS和UWP项目,并将System.Reactive降级到4.0.0版但是,请考虑切换到VS 2019年,所有版本的VS 2019 (包括Mac)现在都应该附带一个固定版本的Xamarin.Android。
https://stackoverflow.com/questions/56739614
复制相似问题