From c27f704e41863036854a04db7a486d292960392a Mon Sep 17 00:00:00 2001 From: Tommy Parnell Date: Fri, 17 May 2024 18:24:50 -0400 Subject: [PATCH] Specify the nuget package for the msbuild integration (#1657) --- Documentation/MSBuildIntegration.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/MSBuildIntegration.md b/Documentation/MSBuildIntegration.md index d1b64af16..6cee59fa4 100644 --- a/Documentation/MSBuildIntegration.md +++ b/Documentation/MSBuildIntegration.md @@ -1,6 +1,6 @@ # Coverlet integration with MSBuild -In this mode, Coverlet doesn't require any additional setup other than including the NuGet package in the unit test project. It integrates with the `dotnet test` infrastructure built into the .NET Core CLI and when enabled, will automatically generate coverage results after tests are run. +In this mode, Coverlet doesn't require any additional setup other than including the `coverlet.msbuild` NuGet package in the unit test project. It integrates with the `dotnet test` infrastructure built into the .NET Core CLI and when enabled, will automatically generate coverage results after tests are run. If a property takes multiple comma-separated values please note that [you will have to add escaped quotes around the string](https://github.com/Microsoft/msbuild/issues/2999#issuecomment-366078677) like this: `/p:Exclude=\"[coverlet.*]*,[*]Coverlet.Core*\"`, `/p:Include=\"[coverlet.*]*,[*]Coverlet.Core*\"`, or `/p:CoverletOutputFormat=\"json,opencover\"`.