This repository has been archived by the owner on Mar 30, 2023. It is now read-only.
forked from zone117x/MimeMapping
-
Notifications
You must be signed in to change notification settings - Fork 1
/
MimeMapping.csproj
76 lines (63 loc) · 2.73 KB
/
MimeMapping.csproj
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks>netstandard2.0;netstandard2.1;net6.0;net472</TargetFrameworks>
<Description>Constants for (almost) all MIME types and method to determine MIME type from a file name.
Contains just over 1000 mime types.
The Dictionary is generated from the jshttp/mime-db db.json file.
Works similar to .NET's System.Web.MimeMapping.GetMimeMapping.
It aggregates data from the following sources:
https://www.iana.org/assignments/media-types/media-types.xhtml
https://svn.apache.org/repos/asf/httpd/httpd/trunk/docs/conf/mime.types
https://hg.nginx.org/nginx/raw-file/default/conf/mime.types
See:
https://github.com/jshttp/mime-db#mime-db
https://learn.microsoft.com/dotnet/api/system.web.mimemapping.getmimemapping
</Description>
<PackageReadmeFile>README.md</PackageReadmeFile>
<PackageProjectUrl>https://github.com/zone117x/MimeMapping</PackageProjectUrl>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageTags>mimetype contenttype mime type mimemapping GetMimeMapping media-types rfc 4288</PackageTags>
<Authors>Matthew Little</Authors>
<Company />
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
<SignAssembly>true</SignAssembly>
<AssemblyOriginatorKeyFile>MimeMapping.snk</AssemblyOriginatorKeyFile>
<!-- https://github.com/dotnet/sourcelink -->
<PublishRepositoryUrl>true</PublishRepositoryUrl>
<!-- required as we don't have a valid semver tag yet -->
<MinVerMinimumMajorMinor>1.1</MinVerMinimumMajorMinor>
<MinVerTagPrefix>v</MinVerTagPrefix>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|AnyCPU'">
<DocumentationFile>bin\Release\netstandard2.0\MimeMapping.xml</DocumentationFile>
</PropertyGroup>
<ItemGroup>
<Compile Remove="Test\**" />
<EmbeddedResource Remove="Test\**" />
<None Remove="Test\**" />
</ItemGroup>
<ItemGroup>
<None Remove=".editorconfig" />
<None Remove=".gitignore" />
<None Remove="LICENSE.md" />
<None Remove="**/TestResults/**" />
<None Include="README.md" Pack="true" PackagePath="\" />
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.1.1" PrivateAssets="All" />
<PackageReference Include="MinVer" Version="4.3.0" PrivateAssets="All" />
</ItemGroup>
<ItemGroup>
<None Update="KnownMimeTypes.tt">
<Generator>TextTemplatingFileGenerator</Generator>
<LastGenOutput>KnownMimeTypes.cs</LastGenOutput>
</None>
</ItemGroup>
<ItemGroup>
<Compile Update="KnownMimeTypes.cs">
<DesignTime>True</DesignTime>
<AutoGen>True</AutoGen>
<DependentUpon>KnownMimeTypes.tt</DependentUpon>
</Compile>
</ItemGroup>
</Project>