Skip to content

Commit 9bb751f

Browse files
committed
Package README and LICENSE correctly in .csproj
1 parent 49b6d46 commit 9bb751f

1 file changed

Lines changed: 13 additions & 6 deletions

File tree

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
<Project Sdk="Microsoft.NET.Sdk">
1+
2+
<Project Sdk="Microsoft.NET.Sdk">
23

34
<PropertyGroup>
45
<TargetFramework>net10.0</TargetFramework>
@@ -10,17 +11,23 @@
1011
<SignAssembly>False</SignAssembly>
1112
<Description>Library for editing Clone Hero song files in .NET</Description>
1213
<PackageProjectUrl></PackageProjectUrl>
13-
<PackageReadmeFile>$(ProjectDir)../../README.md</PackageReadmeFile>
14-
<PackageLicenseFile>$(ProjectDir)../../LICENSE</PackageLicenseFile>
14+
<PackageReadmeFile>README.md</PackageReadmeFile>
15+
<PackageLicenseFile>LICENSE</PackageLicenseFile>
1516
<RepositoryUrl>https://github.com/TheBoxyBear/charttools</RepositoryUrl>
1617
<NeutralLanguage>en-CA</NeutralLanguage>
1718
<PackageRequireLicenseAcceptance>True</PackageRequireLicenseAcceptance>
1819
<Company>TheBoxyBear</Company>
1920
</PropertyGroup>
2021

2122
<ItemGroup>
22-
<None Include="$(ProjectDir)../../README.md" Pack="true" PackagePath="" />
23-
<None Include="$(ProjectDir)../..//LICENSE" Pack="true" PackagePath="" />
23+
<None Include="..\..\LICENSE">
24+
<Pack>True</Pack>
25+
<PackagePath>\</PackagePath>
26+
</None>
27+
<None Include="..\..\README.md">
28+
<Pack>True</Pack>
29+
<PackagePath>\</PackagePath>
30+
</None>
2431
</ItemGroup>
2532

26-
</Project>
33+
</Project>

0 commit comments

Comments
 (0)