jbogard / MediatR.Extensions.Microsoft.DependencyInjection

MediatR extensions for Microsoft.Extensions.DependencyInjection
MIT License
327 stars 90 forks source link

NU1202: Package MediatR.Extensions.Microsoft.DependencyInjection 9.0.0 is not compatible with net5.0 #98

Open TorreyGarland opened 3 years ago

TorreyGarland commented 3 years ago

... does not support any target frameworks.

... has a package type 'SymbolsPackage' that is not supported by project 'X'

jbogard commented 3 years ago

Repro? It supports .NET Standard 2.0, which is forward compatible to 5.0

TorreyGarland commented 3 years ago

Visual Studio 2019 Enterprise, version 16.8.4

I tried creating a new MVC core 5.0 web app with page models.

The first thing I did after creating the app was to try to install the Nuget package plus the symbols via "Manage NuGet Packages for Solution..."

the output window displayed that error.

I am behind a firewall, so installing NuGet packages gets interesting sometimes.

TorreyGarland commented 3 years ago

The exact message in the output pane is: NU1202: Package MediatR.Extensions.Microsoft.DependencyInjection 9.0.0 is not compatible with net5.0 (.NETCoreApp=v5.0). Package Mediatr.Extensions.Microsoft.DependencyInjection 9.0.0 does not support any target frameworks. Package 'MediatR.Extensions.Microsoft.DependencyInjections 9.0.0' has a package type 'SymbolsPackage' that is not supported by project 'WebApplication 106'.

MiroslavSlouka commented 2 years ago

Any updates on this? I've got the exact same error

EDIT: I could install version 8.1.0

jbogard commented 2 years ago

I can't reproduce this 🤷‍♂️