添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接

Forum Discussion

Ankush1987
Copper Contributor
May 31, 2023

Compatibility issue with NuGet package created in .net standard 2.0 and consumed in .net 6.0 web app

I have created NuGet package with .net Standard 2.0 and consuming it in .net 6.0 web project but after installation of this Nuget, I am getting below warning

Nuget package was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4.7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8, .NETFramework,Version=v4.8.1' instead of the project target framework 'net6.0'. This package may not be fully compatible with your project.

Any lead to fix this issue

Resources