uwp-xaml - 警告 NU1603 Microsoft.NETCore.UniversalWindowsPlatform 6.2.0-preview1-26926-04
问题描述
我有 Windows 10 1809,目标和最小版本都构建 17763
使用 Microsoft.NETCore.UniversalWindowsPlatform v6.2.0-preview1-26926-04 和 Microsoft.UI.XAML v2.1.181025003-prerelease
当我构建时,我看到一个警告
Severity Code Description Project File Line Suppression State
Warning NU1603 Microsoft.NETCore.UniversalWindowsPlatform 6.2.0-preview1-
26926-04 depends on Microsoft.Net.Native.Compiler (>= 2.2.0-rel-26924-00)
but Microsoft.Net.Native.Compiler 2.2.0-rel-26924-00 was not found. An
approximate best match of Microsoft.Net.Native.Compiler 2.2.0-rel-26924-01
was resolved.
解决方案
Microsoft.NETCore.UniversalWindowsPlatform 6.2.0-preview1-26926-04 依赖于 Microsoft.Net.Native.Compiler (>= 2.2.0-rel-26924-00) 但 Microsoft.Net.Native.Compiler 2.2.0-rel-未找到 26924-00。Microsoft.Net.Native.Compiler 2.2.0-rel-26924-01 的近似最佳匹配已解决。
警告信息告诉Microsoft.Net.Native.Compiler 2.2.0-rel-26924-00
未找到。最好的匹配是Microsoft.Net.Native.Compiler
2.2.0-rel-26924-01。您可以使用包管理器控制台通过以下命令手动安装它。
Install-Package Microsoft.Net.Native.Compiler -Version 2.2.0-rel-26924-01
推荐阅读
- r - data 参数如何通过 ggplot 传递?
- material-ui - material-ui TreeView(来自 Lab)错误地对齐 3rd + 子节点
- express - 猫鼬限制渲染问题
- c - 如何阻止 fscanf() 重复值?
- java - hs_err_pid1966.log文件总是出现在我在ubuntu18.04.3上的$Home目录下,谁能帮帮我?
- python - 如何修复不兼容的形状:[32,32 vs. [32, 32, 912] Keras
- angular - 找不到模块'node-sass
- c# - 如何从对象和变量创建 Json?
- python - 使用 pygame 中的模块 ptext 空“””字符串返回错误
- c++ - 成员函数的“this”参数的类型为“const”,但我的函数实际上不是“const”