Skip to content
This repository has been archived by the owner on Feb 27, 2024. It is now read-only.

Commit

Permalink
Misc nuget improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
JustArchi committed Aug 7, 2021
1 parent 29a6a12 commit e4e622e
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 6 deletions.
4 changes: 4 additions & 0 deletions Directory.Build.props
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,12 @@
<NeutralLanguage>en</NeutralLanguage>
<NoWarn>1591</NoWarn>
<Nullable>enable</Nullable>
<PackageIcon>Madness.png</PackageIcon>
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
<PackageProjectUrl>https://github.com/JustArchiNET/Madness</PackageProjectUrl>
<PackageReadmeFile>README.md</PackageReadmeFile>
<PackageReleaseNotes>https://github.com/JustArchiNET/Madness/releases</PackageReleaseNotes>
<RepositoryBranch>main</RepositoryBranch>
<RepositoryType>Git</RepositoryType>
<RepositoryUrl>https://github.com/JustArchiNET/Madness.git</RepositoryUrl>
<TargetFramework>netstandard2.0</TargetFramework>
Expand Down
26 changes: 20 additions & 6 deletions JustArchiNET.Madness/JustArchiNET.Madness.csproj
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<PackageIcon>Madness.png</PackageIcon>
<PackageReleaseNotes>https://github.com/JustArchiNET/Madness/releases</PackageReleaseNotes>
<Title>$(PackageId)</Title>
</PropertyGroup>

<ItemGroup>
Expand All @@ -15,7 +12,24 @@
</ItemGroup>

<ItemGroup>
<None Include="..\resources\Madness.png" Pack="true" PackagePath="\" />
<Content Include="..\LICENSE-2.0.txt">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<ExcludeFromSingleFile>true</ExcludeFromSingleFile>
<Link>%(RecursiveDir)%(Filename)%(Extension)</Link>
<Pack>true</Pack>
<PackagePath />
</Content>
<Content Include="..\README.md">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<ExcludeFromSingleFile>true</ExcludeFromSingleFile>
<Link>%(RecursiveDir)%(Filename)%(Extension)</Link>
<Pack>true</Pack>
<PackagePath />
</Content>
<Content Include="..\resources\Madness.png">
<Link>%(RecursiveDir)%(Filename)%(Extension)</Link>
<Pack>true</Pack>
<PackagePath />
</Content>
</ItemGroup>

</Project>
</Project>

0 comments on commit e4e622e

Please sign in to comment.