How to choose the target version of .NET Standard library?
How to choose the target version of .NET Standard library?
Choosing the target version of a .NET Standard library involves several considerations to ensure compatibility and functionality across different .NET implementations. Here are the key points to consider:
.NET Standard is designed to provide a uniform set of APIs that all .NET implementations must support. The version of .NET Standard you choose determines which .NET implementations and versions your library can run on. Higher versions of .NET Standard include more APIs but are supported by fewer .NET implementations.
Consider the APIs your library needs. If your library requires APIs that are only available in higher versions of .NET Standard, you will need to target that version. However, this may limit the number of platforms your library can run on.
Đăng nhập để tham gia thảo luận cùng mọi người.
Chưa có bình luận nào
Hãy là người đầu tiên chia sẻ suy nghĩ của bạn.