jbogard / MediatR

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

Set TargetFrameworks solely to "netstandard2.0" #1032

Closed marco-carvalho closed 6 months ago

marco-carvalho commented 6 months 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 6 months 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 6 months ago

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