Skip to content

Commit cc5c4d4

Browse files
committed
chore: Hide the Docfx templates folder from VS project tree
1 parent f38cfda commit cc5c4d4

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<!-- Hide the Docfx templates folder from VS project tree.
4+
Can be removed once https://github.com/NuGet/Home/issues/4856 is resolved -->
5+
<ItemGroup>
6+
<Content Update="@(Content)">
7+
<Visible Condition="'%(NuGetItemType)' == 'Content' and '%(NuGetPackageId)' == 'docfx.app'">False</Visible>
8+
</Content>
9+
</ItemGroup>
10+
</Project>

src/Docfx.App/Docfx.App.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77

88
<ItemGroup>
99
<Content Include="templates/**" CopyToOutputDirectory="PreserveNewest" PackageCopyToOutput="true" PackagePath="contentFiles/any/any/templates" />
10+
<None Include="Build\docfx.app.props" Pack="true" PackagePath="build\" />
1011
</ItemGroup>
1112

1213
<ItemGroup>

0 commit comments

Comments
 (0)