Skip to content

Commit 1028c8e

Browse files
committed
The source files were not hidden in the consuming project.
1 parent ae7c4cd commit 1028c8e

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

Pathy.Globbing/Pathy.props

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<!-- Make sure the source code files are excluded from the Solution Explorer in the project that used this package -->
2+
<Project>
3+
<ItemGroup>
4+
<Compile Update="@(Compile)">
5+
<Visible Condition="'%(NuGetItemType)' == 'Compile' and '%(NuGetPackageId)' == 'Pathy.Globbing'">false</Visible>
6+
</Compile>
7+
</ItemGroup>
8+
</Project>

Pathy/Pathy.props

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
<Project>
33
<ItemGroup>
44
<Compile Update="@(Compile)">
5+
<Visible Condition="'%(NuGetItemType)' == 'Compile' and '%(NuGetPackageId)' == 'Pathy'">false</Visible>
56
</Compile>
67
</ItemGroup>
78
</Project>

0 commit comments

Comments
 (0)