Skip to content

Commit

Permalink
chore: Hide the Docfx templates folder from VS project tree (dotnet#9554
Browse files Browse the repository at this point in the history
)
  • Loading branch information
jwfx authored and p-kostov committed Jun 28, 2024
1 parent ef24cae commit 2474608
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/Docfx.App/Build/docfx.app.props
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<!-- Hide the Docfx templates folder from VS project tree.
Can be removed once https://github.com/NuGet/Home/issues/4856 is resolved -->
<ItemGroup>
<Content Update="@(Content)">
<Visible Condition="'%(NuGetItemType)' == 'Content' and '%(NuGetPackageId)' == 'docfx.app'">False</Visible>
</Content>
</ItemGroup>
</Project>
1 change: 1 addition & 0 deletions src/Docfx.App/Docfx.App.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

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

<ItemGroup>
Expand Down

0 comments on commit 2474608

Please sign in to comment.