Skip to content

Unnecessary references in Mediator.Abstractions when targeting netstandard2.0 #251

@PatrykPlewaOfficial

Description

@PatrykPlewaOfficial

The package Mediator.Abstractions (Mediator.csproj) has unnecessary references to the following NuGet packages:

  • Microsoft.Extensions.DependencyInjection.Abstractions
  • System.Collections.Immutable
  • System.Runtime.CompilerServices.Unsafe
Image

These transient dependencies cause issues when installing the Mediator.Abstractions package in older projects where the Mediator package officially is supposed to support netstandard2.0.

Code builds perfectly without these dependencies, for all targets. That will leave us with only Microsoft.Bcl.AsyncInterfaces.

Please remove them in the nearest version. I can also help with a quick PR if desired.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions