【发布时间】:2018-02-10 03:27:32
【问题描述】:
我在 Visual Studio 2015 中有一个很好的旧 .NET Framework 4.7 类库,目前使用 Microsoft.Extensions.Configuration NuGet package version 1.1.2。我正在尝试将其更新为 version 2.0,但出现此错误:
Microsoft.Extensions.Configuration 2.0.0'。您正在尝试安装 这个包到一个以“.NETFramework,Version=v4.7”为目标的项目中, 但该包不包含任何程序集引用或内容 与该框架兼容的文件。了解更多信息, 联系包作者。
我看到新版本只支持.NETStandard 2.0。我是否必须在 Visual Studio 2017 中将我的所有项目转换为 .NET Core 或 .NET Standard?
【问题讨论】:
-
您是否按照blog.nuget.org/20170815/Whats-nu-in-NuGet-with-VS2017-15-3.html的建议更新了 VS2015 中的 NuGet 位?
标签: c# .net .net-core .net-standard .net-standard-2.0