Skip to content

Commit 1f6c7ea

Browse files
committed
Simplify the inclusion of .props and .targets
1 parent 77288fb commit 1f6c7ea

File tree

3 files changed

+4
-7
lines changed

3 files changed

+4
-7
lines changed

src/coverlet.msbuild.tasks/coverlet.msbuild.tasks.csproj

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@
1717
<Description>Coverlet is a cross platform code coverage library for .NET Core, with support for line, branch and method coverage.</Description>
1818
<PackageTags>coverage testing unit-test lcov opencover quality</PackageTags>
1919
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
20+
21+
<!-- Items in the Content group are placed in this folder in the NuGet package. -->
2022
<ContentTargetFolders>build</ContentTargetFolders>
2123

2224
<!-- Build tasks should not be added to the lib folder. -->
@@ -38,13 +40,8 @@
3840
</ItemGroup>
3941

4042
<ItemGroup>
41-
<None Include="..\coverlet.msbuild\coverlet.msbuild.props">
42-
<Link>build\coverlet.msbuild.props</Link>
43-
<Pack>true</Pack>
44-
</None>
45-
<Content Include="..\coverlet.msbuild\coverlet.msbuild.targets">
46-
<Link>build\coverlet.msbuild.targets</Link>
47-
</Content>
43+
<Content Include="coverlet.msbuild.props" />
44+
<Content Include="coverlet.msbuild.targets" />
4845
</ItemGroup>
4946

5047
<Target Name="PackBuildOutputs" DependsOnTargets="ResolveProjectReferences;SatelliteDllsProjectOutputGroup;DebugSymbolsProjectOutputGroup;SatelliteDllsProjectOutputGroupDependencies;ResolveAssemblyReferences">

0 commit comments

Comments
 (0)