A simple lookup from file name/extension to MIME/media type, generated from mime-db, which in turn is compiled from IANA, Apache and nginx's MIME types.
Apache License 2.0
93
stars
23
forks
source link
Using MimeTypes in .net standard 2.0 Project triggers CS8370 Error #22
When adding MimeTypes to a .net standard 2.0 Project, Compile Error:
CS8370 "Feature 'nullable reference types' is not available in C# 7.3. Please use language version 8.0 or greater"
.net Standard 2.0 is unfortunately locked to max language level 7.3
Using Version 1.1.0 , which does not yet have the
nullable enable
line works.