samuelneff / MimeTypeMap

Provides a huge dictionary of file extensions to mime types.
MIT License
625 stars 201 forks source link

NU1701 returned on NUGet package in .Net Core 3.1, but functionality is perfect #93

Closed burkenyo closed 4 years ago

burkenyo commented 4 years ago

When referencing the NUGet package in a .Net Core 3.1 project, the NU1701 warning is recieved:

warning NU1701: Package 'MediaTypeMap 2.1.0' was restored using '.NETFramework,Version=v4.6.1, .NETFramework,Version=v4.6.2, .NETFramework,Version=v4.7, .NETFramework,Version=v4.7.1, .NETFramework,Version=v4.7.2, .NETFramework,Version=v4.8' instead of the project target framework '.NETCoreApp,Version=v3.1'. This package may not be fully compatible with your project.

This class works without issue; is it possible to have the NUGet package ”officially” support .net core 3.1?

markusschaber commented 4 years ago

Just as a hint: There's a third party .NET Core port as package MediaTypeMap.Core which works on .NET Core: https://www.nuget.org/packages/MediaTypeMap.Core/

burkenyo commented 4 years ago

That's very helpful, thanks!

samuelneff commented 4 years ago

None of the nuget packages are officially related to this repo. They're all published by 3rd parties.

@markusschaber Thank you for pointing to the alternate published package.

markusschaber commented 4 years ago

@samuelneff Would you be interested in publishing "official" NuGet Packages?

samuelneff commented 4 years ago

@markusschaber I'm happy to designate one as official and link to it from the readme, but I'd be looking for someone else to commit to maintaining it (the nuget package, not this repo). I haven't done any .NET development myself in about five years.

markusschaber commented 4 years ago

Thanks for letting us know. I'm not in the position to make such a commitment right now, but that situation may change in a few weeks. But maybe one of the other publishers steps up and applies for the "official" signet. :-)