Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions Asp2017.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@
<ItemGroup>
<!-- Files not to show in IDE -->
<None Remove="yarn.lock" />
<Content Remove="wwwroot\dist\**" />
<None Remove="Client\dist\**" />

<!-- Files not to publish (note that the 'dist' subfolders are re-added below) -->
<Content Remove="Client\**" />
Expand All @@ -40,4 +42,11 @@
</ResolvedFileToPublish>
</ItemGroup>
</Target>
<Target Name="CleanDist" AfterTargets="Clean">
<ItemGroup>
<FilesToDelete Include="Client\dist\**; wwwroot\dist\**"/>
</ItemGroup>
<Delete Files="@(FilesToDelete)" />
<RemoveDir Directories="Client\dist; wwwroot\dist" />
</Target>
</Project>