Mediator icon indicating copy to clipboard operation
Mediator copied to clipboard

Support for netstandard2.0

Open ThomasBarnekow opened this issue 3 years ago • 1 comments

Hi @martinothamar, this is just a question after I came across your package and read that it supports netstandard2.1:

Would it be possible to also support netstandard2.0 (e.g., with a reduced set of features if some features depend on capabilities introduced with netstandard2.1)? We have a frontend that must target .NET Framework and, therefore, can only use libraries up to netstandard2.0.

ThomasBarnekow avatar Nov 11 '22 10:11 ThomasBarnekow

I remember trying to stick to 2.0, this change was introduced as part of supporting streaming/IAsyncEnumerable, but maybe we can conditionally support streaming based on target framework. I would have to experiment a bit again to see if thats possible

martinothamar avatar Nov 17 '22 08:11 martinothamar

This was done in https://github.com/martinothamar/Mediator/pull/145 actually, closing

martinothamar avatar Apr 20 '25 15:04 martinothamar