NuGet: references to assemblies in runtimes folder not added

后端 未结 6 1911
孤独总比滥情好
孤独总比滥情好 2021-01-01 15:23

I have a project that targets two different operating systems/frameworks:

  1. net461 on Windows and
  2. netcoreapp2.0 on OSX
  3. <
6条回答
  •  感动是毒
    2021-01-01 16:09

    Can you try to target .NET Standard 2.0 instead of net461 and netcoreapp2.0? Libraries built against netstandard2.0 should work with .NET Core 2.0 and .NET Framework 4.6.1: https://docs.microsoft.com/en-us/dotnet/standard/net-standard

提交回复
热议问题