The jnm2.ReferenceAssemblies.net35 is required only for the net35 build, not for the other 2.
Both jnm2.ReferenceAssemblies.net35 and Microsoft.NETFramework.ReferenceAssemblies is required for building the package and it's not necessary to publish a dependency on those libraries. Adding PrivateAssets="All" removes the dependency in the .nuspec file.
The
jnm2.ReferenceAssemblies.net35
is required only for thenet35
build, not for the other 2.Both
jnm2.ReferenceAssemblies.net35
andMicrosoft.NETFramework.ReferenceAssemblies
is required for building the package and it's not necessary to publish a dependency on those libraries. AddingPrivateAssets="All"
removes the dependency in the.nuspec
file.