Skip to content

Commit 4feff0b

Browse files
committed
Fix README.md packaging path to support multiple locations
1 parent f73bfad commit 4feff0b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/NLWebNet/NLWebNet.csproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,8 @@
6363
<ItemGroup>
6464
<FrameworkReference Include="Microsoft.AspNetCore.App" />
6565
</ItemGroup> <ItemGroup>
66-
<None Include="$(MSBuildProjectDirectory)\..\..\README.md" Pack="true" PackagePath="\" />
66+
<None Include="..\..\README.md" Pack="true" PackagePath="\" Condition="Exists('..\..\README.md')" />
67+
<None Include="README.md" Pack="true" PackagePath="\" Condition="Exists('README.md') And !Exists('..\..\README.md')" />
6768
</ItemGroup>
6869

6970
</Project>

0 commit comments

Comments
 (0)