xamarin - 为什么我会收到警告NU1605,它以蓝色显示

标签 xamarin compiler-errors

突然收到以下警告时,我有一个正在运行的应用程序:
“警告NU1605检测到程序包降级:Microsoft.NETCore.UniversalWindowsPlatform从6.2.9到6.1.9。”
在试图弄清楚发生了什么时,我发现一个没有添加代码的新项目也将得到此错误。
我还发现我可以在记事本中打开.csproj文件,并将行从6.1.9更改为6.2.9,但是想知道为什么我必须这样做或应该做些什么。

最佳答案

"Warning NU1605 Detected package downgrade: Microsoft.NETCore.UniversalWindowsPlatform from 6.2.9 to 6.1.9."


从共享的警告日志中,您需要将Nuget包( Microsoft.NETCore.UniversalWindowsPlatform )形式从6.1.9更新为6.2.9
关于更新可以遵循以下步骤:
单击工具-> Nuget程序包管理器-> Manange Nuget解决方案程序包...
enter image description here
然后在Installed中将看到nuget软件包:
enter image description here
选择要安装的版本:
enter image description here

关于xamarin - 为什么我会收到警告NU1605,它以蓝色显示,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/63349575/

相关文章:

c# - Xamarin.Forms 中的计时器

ios - iOS 上的 PJSIP,编译器错误 "undeclared type ` pj_thread_t`"

c++ - 在 OpenCV 中设置像素值(奇怪的结果)

compiler-construction - VHDL编译器退出错误

xamarin.ios - Monodevelop - 它什么时候保存 csproj 文件?

c# - 在 visual studio 中进行 xamarin 更新后,使用 Android 5.1.1 Lollipop 启动应用程序时应用程序启动崩溃

android - Xamarin - 找不到编码错误 1252 数据

c# - 如何从代码后面访问数据到 MVVM

python - OverflowError : (34, 'Result too large' ) on the resolution of a differential equation with Euler method

c++ - 从 CRAN 安装 pc aPP 包时出现编译时错误,知道这可能是什么原因吗?