FirelyTeam / firely-net-sdk

The official Firely .NET SDK for HL7 FHIR
Other
829 stars 345 forks source link

Consider switching to netstandard2.1 #2882

Closed ewoutkramer closed 1 month ago

ewoutkramer commented 1 month ago

Although we currently do not use newer features, supporting netstandard 2.0 is becoming a burden. In particular, to give us more freedom to change APIs in the SDK6 timeframe, I would like to at least move to netstandard2.1 to be able to use default interface implementations. It would also allow us to simplify string operations by using slices.

We have also thought about jumping onto the .NET Core bandwagon, so actually releasing for a .NET version (say, 6.0 or 7.0). This of course will cause our code no longer to run on Unity or Xamarin, but .NET is widely supported on Mac, Android, Linux and Windows, so I am not sure this is a problem.

mmsmits commented 1 month ago

Maybe we should ask the dotnet stream on Zulip as well

ewoutkramer commented 1 month ago

See also https://community.devexpress.com/blogs/news/archive/2023/07/05/net-net-standard-2-0-deprecation-support-for-net-6-or-net-8-lts-by-default-in-libraries-and-more-v23-2.aspx