Skip to content

Commit 2910792

Browse files
authored
Fix the license file packing guidance
1 parent 88a1a15 commit 2910792

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/reference/msbuild-targets.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ When packing a license file, you need to use PackageLicenseFile property to spec
197197
</PropertyGroup>
198198

199199
<ItemGroup>
200-
<None Include="licenses\LICENSE.txt" Pack="true" PackagePath="$(PackageLicenseFile)"/>
200+
<None Include="licenses\LICENSE.txt" Pack="true" PackagePath=""/>
201201
</ItemGroup>
202202
```
203203
[License file sample](https://github.com/NuGet/Samples/tree/master/PackageLicenseFileExample).

0 commit comments

Comments
 (0)