awslabs / aws-embedded-metrics-dotnet

Amazon CloudWatch Embedded Metric Format Client Library
Apache License 2.0
22 stars 14 forks source link

Target netstandard2.1 #23

Open frozenberg opened 2 years ago

frozenberg commented 2 years ago

Are there plans to target netstandard? Trying to integrate this package into my service and my team has expressed concern about having to change our target to netcoreapp3.1.

wapplegate commented 1 year ago

This library actually seems to work fine when used from an application targeting .NET 6 or .NET 7 if your application currently targets one of those runtimes. I actually forgot this library specifically targeted 3.1 until I saw this issue. A better solution might be to multi-target a few different runtimes instead of just .NET standard.

David-Ferreira commented 1 year ago

Hello I have opened a PR to allow multi-targeting. @wapplegate. https://github.com/awslabs/aws-embedded-metrics-dotnet/pull/53