Skip to content

Commit 0f2b596

Browse files
committed
readme
1 parent 94c8c4e commit 0f2b596

File tree

2 files changed

+36
-25
lines changed

2 files changed

+36
-25
lines changed

Directory.Build.props

Lines changed: 35 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,37 @@
11
<Project>
2-
<!--NuGet-->
3-
<PropertyGroup>
4-
<EmbedUntrackedSources>true</EmbedUntrackedSources>
5-
<PublishRepositoryUrl>true</PublishRepositoryUrl>
6-
<Authors>ManagedCode</Authors>
7-
<Copyright>Copyright © 2021-$([System.DateTime]::Now.ToString(`yyyy`)) ManagedCode SAS</Copyright>
8-
<RepositoryUrl>https://github.com/managed-code-hub/MimeTypes</RepositoryUrl>
9-
<PackageProjectUrl>https://github.com/managed-code-hub/MimeTypes</PackageProjectUrl>
10-
<RepositoryType>Github</RepositoryType>
11-
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
12-
<PackageIcon>logo.png</PackageIcon>
13-
<PackageLicenseExpression>MIT</PackageLicenseExpression>
14-
<PackageReadmeFile>README.md</PackageReadmeFile>
15-
<Product>Managed Code - MimeTypes</Product>
16-
<Version>1.0.0</Version>
17-
<PackageVersion>1.0.0</PackageVersion>
18-
</PropertyGroup>
19-
<PropertyGroup Condition="'$(GITHUB_ACTIONS)' == 'true'">
20-
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
21-
</PropertyGroup>
22-
<ItemGroup>
23-
<None Include="$(SolutionDir)\logo.png" Pack="true" Visible="false" PackagePath="\"/>
24-
<None Include="$(SolutionDir)\README.md" Pack="true" Visible="false" PackagePath="\"/>
25-
</ItemGroup>
2+
<!--NuGet-->
3+
<PropertyGroup>
4+
<Authors>ManagedCode</Authors>
5+
<Copyright>Copyright © 2021-$([System.DateTime]::Now.ToString(`yyyy`)) ManagedCode SAS</Copyright>
6+
<EmbedUntrackedSources>true</EmbedUntrackedSources>
7+
<PublishRepositoryUrl>true</PublishRepositoryUrl>
8+
<IncludeSymbols>true</IncludeSymbols>
9+
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
10+
<RepositoryType>Github</RepositoryType>
11+
<AllowedOutputExtensionsInPackageBuildOutputFolder>$(AllowedOutputExtensionsInPackageBuildOutputFolder);.pdb</AllowedOutputExtensionsInPackageBuildOutputFolder>
12+
<PackageIcon>logo.png</PackageIcon>
13+
<PackageLicenseExpression>MIT</PackageLicenseExpression>
14+
<EnablePackageValidation>true</EnablePackageValidation>
15+
<PackageReadmeFile>README.md</PackageReadmeFile>
16+
17+
<RepositoryUrl>https://github.com/managedcode/MimeTypes</RepositoryUrl>
18+
<PackageProjectUrl>https://github.com/managedcode/MimeTypes</PackageProjectUrl>
19+
<Product>Managed Code - MimeTypes</Product>
20+
<Version>1.0.1</Version>
21+
<PackageVersion>1.0.1</PackageVersion>
22+
23+
</PropertyGroup>
24+
<PropertyGroup Condition="'$(GITHUB_ACTIONS)' == 'true'">
25+
<ContinuousIntegrationBuild>true</ContinuousIntegrationBuild>
26+
</PropertyGroup>
27+
<ItemGroup>
28+
<None Include="$(SolutionDir)\logo.png" Pack="true" Visible="false" PackagePath="\"/>
29+
<None Include="$(SolutionDir)\README.md" Pack="true" Visible="false" PackagePath="\"/>
30+
</ItemGroup>
31+
<ItemGroup>
32+
<PackageReference Include="DotNet.ReproducibleBuilds" Version="1.1.1">
33+
<PrivateAssets>all</PrivateAssets>
34+
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
35+
</PackageReference>
36+
</ItemGroup>
2637
</Project>

ManagedCode.MimeTypes.Tests/GeneratorTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public void EmptyExtensionsTest()
2424
{
2525
MimeHelper.GetMimeType("").Should().Be("application/octet-stream");
2626
MimeHelper.GetMimeType(" ").Should().Be("application/octet-stream");
27-
MimeHelper.GetMimeType(null).Should().Be("application/octet-stream");
27+
MimeHelper.GetMimeType(null as string).Should().Be("application/octet-stream");
2828
}
2929

3030
[Fact]

0 commit comments

Comments
 (0)