将 .netstandard2.0 NuGet 与 .NetFramework4.6.2 一起使用

Using .netstandard2.0 NuGet with .NetFramework4.6.2

我在 .NetStandard2.0 中有一个项目,它必须在 2 个项目中用作 nuget,一个在 .NetCore2.2 中,另一个在 .NetFramework4.6.2 中。在 .NetCore2.2 中安装 nuget 没有问题,但是当我尝试在其他项目中安装此包时,出现以下错误 -

Could not install package 'packageName'. You are trying to install this package into a project that targets '.NETFramework,Version=v4.6.2', but the package does not contain any assembly references or content files that are compatible with that framework. For more information, contact the package author.

我也尝试将此项目的目标框架从 .NetFramework4.6.2 更改为 .NetFramework4.7.2,但我遇到了同样的错误。我做错了什么吗?

我在 Visual Studio 2015 年打开了框架项目,这导致在尝试安装在 .NetStandard2.0 中创建的 nuget 包时出现问题。我在Visual Studio2017年尝试安装时安装成功。