Skip to content

Commit

Permalink
Exclude coverage folder from csproj
Browse files Browse the repository at this point in the history
  • Loading branch information
raghur committed Feb 8, 2018
1 parent 82995a0 commit 14405de
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions netcore.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,13 @@
<IsPackable>false</IsPackable>
</PropertyGroup>

<ItemGroup>
<Compile Remove="coverage\**" />
<Content Remove="coverage\**" />
<EmbeddedResource Remove="coverage\**" />
<None Remove="coverage\**" />
</ItemGroup>

<ItemGroup>
<PackageReference Include="Microsoft.AspNetCore.All" Version="2.0.0" />
</ItemGroup>
Expand All @@ -15,6 +22,10 @@
<DotNetCliToolReference Include="Microsoft.VisualStudio.Web.CodeGeneration.Tools" Version="2.0.0" />
</ItemGroup>

<ItemGroup>
<Folder Include="wwwroot\dist\" />
</ItemGroup>

<Target Name="DebugRunWebpack" BeforeTargets="Build" Condition=" '$(Configuration)' == 'Debug' And !Exists('wwwroot\dist') ">
<!-- Ensure Node.js is installed -->
<Exec Command="node --version" ContinueOnError="true">
Expand Down

0 comments on commit 14405de

Please sign in to comment.