We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b7c2b9 commit bc14e00Copy full SHA for bc14e00
Asp2017.csproj
@@ -17,6 +17,8 @@
17
<ItemGroup>
18
<!-- Files not to show in IDE -->
19
<None Remove="yarn.lock" />
20
+ <Content Remove="wwwroot\dist\**" />
21
+ <None Remove="Client\dist\**" />
22
23
<!-- Files not to publish (note that the 'dist' subfolders are re-added below) -->
24
<Content Remove="Client\**" />
@@ -40,4 +42,11 @@
40
42
</ResolvedFileToPublish>
41
43
</ItemGroup>
44
</Target>
45
+ <Target Name="CleanDist" AfterTargets="Clean">
46
+ <ItemGroup>
47
+ <FilesToDelete Include="Client\dist\**; wwwroot\dist\**"/>
48
+ </ItemGroup>
49
+ <Delete Files="@(FilesToDelete)" />
50
+ <RemoveDir Directories="Client\dist; wwwroot\dist" />
51
+ </Target>
52
</Project>
0 commit comments