{
"description": "My awesome library",
"dependencies": { },
"frameworks": {
"net40": { },
"netstandard1.3": {
"dependencies": {
"NETStandard.Library": "1.6.0"
}
}
}
}
By targeting both net40
and netstandard1.3
, the library will work in both .NET 4.0+ projects and .NET Standard projects. It's important to move the NETStandard.Library
dependency into the netstandard1.3
section so it's only referenced when building for that framework.