在一个.NET标准PCL项目中,我想引用一个私有的NuGet包,该包针对profile 111(lib\portable-win8+net45+wpa81+MonoAndroid+Xamarin.iOS10)。
但是当我添加NuGet包时,NuGet会抱怨该NuGet包不包含与netstandard 1.1兼容的目标。虽然文档https://learn.microsoft.com/fr-fr/dotnet/articles/standard/library解释说profile 111与netstandard 1.1兼容,并且可以引用Microsoft.NETCore.Portable.Compatibility包进行引用,这也是情况。
有什么想法吗?我可以更新自定义NuGet包,但不知道要更改什么。
但是当我添加NuGet包时,NuGet会抱怨该NuGet包不包含与netstandard 1.1兼容的目标。虽然文档https://learn.microsoft.com/fr-fr/dotnet/articles/standard/library解释说profile 111与netstandard 1.1兼容,并且可以引用Microsoft.NETCore.Portable.Compatibility包进行引用,这也是情况。
有什么想法吗?我可以更新自定义NuGet包,但不知道要更改什么。