已使用.netframework,version=v4.6.1 而不是目标框架netcoreapp,version=v2.1 还原包,此包可能与项目不完全兼容

2023-05-09,,

已使用.netframework,version=v4.6.1 而不是目标框架netcoreapp,version=v2.1 还原包,此包可能与项目不完全兼容

NU1202: 包 System.Runtime.InteropServices.RuntimeInformation 4.0.0 与 netcoreapp2.2 (.NETCoreApp,Version=v2.2) 不兼容。 包 System.Runtime.InteropServices.RuntimeInformation 4.0.0 支持:
- monoandroid10 (MonoAndroid,Version=v1.0)
- monotouch10 (MonoTouch,Version=v1.0)
- xamarinios10 (Xamarin.iOS,Version=v1.0)
- xamarinmac20 (Xamarin.Mac,Version=v2.0)
- xamarintvos10 (Xamarin.TVOS,Version=v1.0)
- xamarinwatchos10 (Xamarin.WatchOS,Version=v1.0)

ng\Masuit.LuceneEFCore.SearchEngine-master\Masuit.LuceneEFCore.SearchEngine\Masuit.LuceneEFCore.SearchEngine.csproj : warning NU1701: 已使用“.NETFramework,Version=v4.6.1”而不是项目目标框架“.NETStandard,Version=v2.0”还原包“System.Collections 4.0.11”。此包可能与项目不完全兼容。

dotnet nuget locals all --clear

在 nuget console 执行:
dotnet nuget locals all --clear

已使用.netframework,version=v4.6.1 而不是目标框架netcoreapp,version=v2.1 还原包,此包可能与项目不完全兼容的相关教程结束。

《已使用.netframework,version=v4.6.1 而不是目标框架netcoreapp,version=v2.1 还原包,此包可能与项目不完全兼容.doc》

下载本文的Word格式文档,以方便收藏与打印。