net-commons / common-logging

A portable logging abstraction for .NET
http://net-commons.github.io/common-logging
Apache License 2.0
649 stars 205 forks source link

Unnecessary dependency in Common.Logging.Core.nuspec #164

Open mrcopperbeard opened 6 years ago

mrcopperbeard commented 6 years ago

Hi, I've kinda problem with using Common.Logging.Core under .Net Framework 4.6.2. This package has a dependency on Microsoft.CSharp package for .NetStandard1.0, package manager installs that for .NetStandard and all compatible frameworks. However, it looks unnecessary under .Net Framework 4.6.2 beyond that I have some problems with supporting that dependency using CI.

I've made some tests with Common.Logging.Core.nuspec, and adding <group targetFramework="net462"/> resolves my problem, but specifying empty group for each version of .NET Framework does not sound good.

Maybe there is a better solution?