jbogard / MediatR

Simple, unambitious mediator implementation in .NET
Apache License 2.0
11.14k stars 1.18k forks source link

Added target framework to netstandard2.0 #821

Closed maniglia closed 1 year ago

maniglia commented 1 year ago

Please consider adding netstandard2.0 as a target framework if you can.

jbogard commented 1 year ago

I...don't understand how this compiles. The docs say IAsyncEnumerable only supports netstandard2.1 and above:

image

I'll do some more digging but if it's working with netstandard2.0 then I'll just downgrade to that altogether.

jbogard commented 1 year ago

Welp it gets pulled in with the Microsoft.Bcl.AsyncInterfaces package (which I did not know existed). Derp. We can just target netstandard2.0 directly.

maniglia commented 1 year ago

Unfortunately I have some problems compiling the project, i get the following message: MinVer : error MINVER1007: "git" is not present in PATH. Even though I installed git and entered the environment variable.