jbogard / MediatR

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

Set TargetFrameworks solely to "netstandard2.0" #1032

Closed marco-carvalho closed 1 month ago

marco-carvalho commented 1 month ago

Changed the <TargetFrameworks> from netstandard2.0;net6.0 to just netstandard2.0. It shouldn't affect users since netstandard2.0 works with .NET 6.

crnd commented 1 month ago

Making this change would mean that Microsoft.Bcl.AsyncInterfaces would be referenced for users that are on .NET 6 or newer. There's currently a conditional package reference defined in Mediator.csproj to circumvent the issue.

RVPE commented 1 month ago

https://learn.microsoft.com/en-us/dotnet/standard/library-guidance/cross-platform-targeting