gpt4 book ai didi

asp.net-core - 使用 .NetFramework 而不是项目目标框架来恢复包

转载 作者:行者123 更新时间:2023-12-03 21:27:10 25 4
gpt4 key购买 nike

我使用 DevExtreme ASP.Net Core Application 模板创建了一个新项目。
然后我将框架从 .Net Core 1 更改为 .Net Core 2.0
但是,当我尝试构建时,出现以下错误。

Warning NU1701  Package 'System.Linq.Queryable 4.0.0' was restored using 
'.NETFramework,Version=v4.6.1' instead of the project target framework
'.NETCoreApp,Version=v2.0'. . This package may not be fully compatible with your project.

enter image description here

这个问题类似于 This question about Nu1701然而,有问题的包是 DevExtreme.AspNet.Core 包的名称表明它旨在与 Core 一起使用。

最佳答案

升级到 DevExtreme 17.2.2 Beta 并使用 DevExtreme 17.2 ASP.Net Core 应用程序 (.NET Core) 模板

关于asp.net-core - 使用 .NetFramework 而不是项目目标框架来恢复包,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/47215697/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com