-
Notifications
You must be signed in to change notification settings - Fork 333
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
MSBuild Implicit Reference to NETStandard.Library #190
Comments
I didn't immediately pick up on the distinction between ".NETStandard 1.3" and "NETStandard.Library 1.6.1"; having now read some more: 👍 |
My understanding is that NETStandard.Library 1.6.1 is not compatible with netcoreapp1.0. The library seems to work fine when compiled into a netcoreapp1.0 project, but tools that check for netcoreapp1.0 compatiblilty (Amazon.Lamba.Tools 1.5.0+) reject the dependency due to NETStandard.Library 1.6.1. They claim NETStandard.Library 1.6.0 is the proper one to use with dotnet core 1.0. Can someone set me straight? |
@automagic
The naming similarity between the two is confusing. |
With RTM tooling, we are now implicitly referencing NETStandard.Library/1.6.1. This implicit requirement will install version
4.3.0
of all of theSystem.*
libraries, so we should go ahead and update dependencies to target those.The MSDN Blog about NETStandard.Library says that it shims every framework version so that they all appear to provide the same set of APIs.
Once .NET Core 2.0 ships, NETStandard.Library 2.0 will likely also ship and we can ditch the majority of the conditional compile logic because NETStandard.Library 2.0 is supposed to target the .NET 4.6.1 API.
There's 2 options right now:
System.*
dependencies to 4.3.0NetStandard.Library
referenceFrom the blog, it appears that the path forward is to use
NETStandard.Library
, and option (1) seems the most sensible for that path. I'll go ahead and implement a PR for option (1), but if I seemed to have overlooked anything please post hereThe text was updated successfully, but these errors were encountered: