diff --git a/Directory.Packages.props b/Directory.Packages.props
index aa81ff3fa..eba94e254 100644
--- a/Directory.Packages.props
+++ b/Directory.Packages.props
@@ -5,24 +5,33 @@
-
+
+
+ 17.13.9
+ 4.12.0
+
+ 17.13.0
+ 6.13.2
+ 2.0.0
+ 3.0.2
+
-
-
+
+
-
+
-
-
-
+
+
+
-
+
-
-
-
+
+
+
-
+
+
+
+
+
+
-
-
-
-
-
-
-
-
+
+
+
diff --git a/Documentation/Changelog.md b/Documentation/Changelog.md
index 5dfebc247..54316af61 100644
--- a/Documentation/Changelog.md
+++ b/Documentation/Changelog.md
@@ -6,6 +6,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## Unreleased
+### Fixed
+- use `netstandard2.0` for _coverlet.collector_ and _coverlet.msbuild.tasks_ Packages´
+
+### Improvements
+- use [xunit.v3](https://xunit.net/docs/getting-started/v3/whats-new) for tests and example code
+
+
## Release date 2024-01-20
### Packages
coverlet.msbuild 6.0.4
@@ -60,8 +67,8 @@ coverlet.collector 6.0.1
- Uncovered lines in .NET 8 for inheriting records [#1555](https://github.com/coverlet-coverage/coverlet/issues/1555)
- Fix record constructors not covered when SkipAutoProps is true [#1561](https://github.com/coverlet-coverage/coverlet/issues/1561)
- Fix .NET 7 Method Group branch coverage issue [#1447](https://github.com/coverlet-coverage/coverlet/issues/1447)
-- Fix ExcludeFromCodeCoverage does not exclude method in a partial class [#1548](https://github.com/coverlet-coverage/coverlet/issues/1548)
-- Fix ExcludeFromCodeCoverage does not exclude F# task [#1547](https://github.com/coverlet-coverage/coverlet/issues/1547)
+- Fix ExcludeFromCodeCoverage does not exclude method in a partial class [#1548](https://github.com/coverlet-coverage/coverlet/issues/1548)
+- Fix ExcludeFromCodeCoverage does not exclude F# task [#1547](https://github.com/coverlet-coverage/coverlet/issues/1547)
- Fix issues where ExcludeFromCodeCoverage ignored [#1431](https://github.com/coverlet-coverage/coverlet/issues/1431)
- Fix issues with ExcludeFromCodeCoverage attribute [#1484](https://github.com/coverlet-coverage/coverlet/issues/1484)
- Fix broken links in documentation [#1514](https://github.com/coverlet-coverage/coverlet/issues/1514)
diff --git a/Documentation/ConsumeNightlyBuild.md b/Documentation/ConsumeNightlyBuild.md
index 3901f70a5..91b57cbde 100644
--- a/Documentation/ConsumeNightlyBuild.md
+++ b/Documentation/ConsumeNightlyBuild.md
@@ -33,7 +33,7 @@ PM> Install-Package coverlet.msbuild -Version X.X.X-preview.X.XXX -Source https:
Example:
```powershell
-PM> Install-Package coverlet.msbuild -Version 3.0.4-preview.4.g5de0ad7d60 -Source https://pkgs.dev.azure.com/tonerdo/coverlet/_packaging/coverlet-nightly/nuget/v3/index.json
+PM> Install-Package coverlet.msbuild -Version 6.0.4-preview.4.g5de0ad7d60 -Source https://pkgs.dev.azure.com/tonerdo/coverlet/_packaging/coverlet-nightly/nuget/v3/index.json
```
### .NET CLI
@@ -45,7 +45,7 @@ PM> Install-Package coverlet.msbuild -Version 3.0.4-preview.4.g5de0ad7d60 -Sourc
Example:
```bash
- dotnet add package coverlet.msbuild --version 3.0.4-preview.4.g5de0ad7d60 --source https://pkgs.dev.azure.com/tonerdo/coverlet/_packaging/coverlet-nightly/nuget/v3/index.json
+ dotnet add package coverlet.msbuild --version 6.0.4-preview.4.g5de0ad7d60 --source https://pkgs.dev.azure.com/tonerdo/coverlet/_packaging/coverlet-nightly/nuget/v3/index.json
```
### MSBuild project file
@@ -57,5 +57,5 @@ Example:
Example:
```xml
-
+
```
diff --git a/Documentation/DriversFeatures.md b/Documentation/DriversFeatures.md
index 8579c79c4..e48f9467a 100644
--- a/Documentation/DriversFeatures.md
+++ b/Documentation/DriversFeatures.md
@@ -8,8 +8,8 @@ In the table below we keep track of main differences:
| Feature | MSBuild | .NET Tool | DataCollectors |
|:-----------------------------------|:--------------|--------------|------------------|
-| .NET Core support(>= 2.0) | Yes | Yes | Yes |
-| .NET Framework support(>= 4.6.1) | Yes | Yes | Yes(since 3.0.0) |
+| .NET Core support(>= 6.0) | Yes | Yes | Yes |
+| .NET Framework support(>= 4.7.2) | Yes | Yes | Yes(since 3.0.0) |
| Show result on console | Yes | Yes | No |
| Deterministic reports output folder| Yes | Yes | No |
| Merge reports | Yes | Yes | No |
diff --git a/Documentation/Examples/MSBuild/DeterministicBuild/HowTo.md b/Documentation/Examples/MSBuild/DeterministicBuild/HowTo.md
index 60ddebbef..ffe46ca71 100644
--- a/Documentation/Examples/MSBuild/DeterministicBuild/HowTo.md
+++ b/Documentation/Examples/MSBuild/DeterministicBuild/HowTo.md
@@ -1,4 +1,4 @@
-To run test we need to generates packages to reference in on test project.
+To run test we need to generates packages to reference in on test project.
Run from repo root
```shell
@@ -44,9 +44,9 @@ Add msbuild package version generated to `"..\Documentation\Examples\MSBuild\Det
-
-
-
+
+
+
all
runtime; build; native; contentfiles; analyzers
diff --git a/Documentation/Examples/MSBuild/DeterministicBuild/XUnitTestProject1/XUnitTestProject1.csproj b/Documentation/Examples/MSBuild/DeterministicBuild/XUnitTestProject1/XUnitTestProject1.csproj
index 19586970c..96969ce77 100644
--- a/Documentation/Examples/MSBuild/DeterministicBuild/XUnitTestProject1/XUnitTestProject1.csproj
+++ b/Documentation/Examples/MSBuild/DeterministicBuild/XUnitTestProject1/XUnitTestProject1.csproj
@@ -7,9 +7,9 @@
-
-
-
+
+
+
all
runtime; build; native; contentfiles; analyzers
diff --git a/Documentation/Examples/MSBuild/MergeWith/XUnitTestProject1/XUnitTestProject1.csproj b/Documentation/Examples/MSBuild/MergeWith/XUnitTestProject1/XUnitTestProject1.csproj
index e78fcdd22..f88747048 100644
--- a/Documentation/Examples/MSBuild/MergeWith/XUnitTestProject1/XUnitTestProject1.csproj
+++ b/Documentation/Examples/MSBuild/MergeWith/XUnitTestProject1/XUnitTestProject1.csproj
@@ -11,12 +11,12 @@
all
runtime; build; native; contentfiles; analyzers; buildtransitive
-
-
-
+
+
+
all
runtime; build; native; contentfiles; analyzers
-
+
diff --git a/Documentation/Examples/MSBuild/MergeWith/XUnitTestProject2/XUnitTestProject2.csproj b/Documentation/Examples/MSBuild/MergeWith/XUnitTestProject2/XUnitTestProject2.csproj
index 4346c22c3..348f9a927 100644
--- a/Documentation/Examples/MSBuild/MergeWith/XUnitTestProject2/XUnitTestProject2.csproj
+++ b/Documentation/Examples/MSBuild/MergeWith/XUnitTestProject2/XUnitTestProject2.csproj
@@ -11,9 +11,9 @@
all
runtime; build; native; contentfiles; analyzers; buildtransitive
-
-
-
+
+
+
all
runtime; build; native; contentfiles; analyzers
diff --git a/Documentation/Examples/MSBuild/MergeWith/XUnitTestProject3/XUnitTestProject3.csproj b/Documentation/Examples/MSBuild/MergeWith/XUnitTestProject3/XUnitTestProject3.csproj
index 4cdea2dbd..b06c78138 100644
--- a/Documentation/Examples/MSBuild/MergeWith/XUnitTestProject3/XUnitTestProject3.csproj
+++ b/Documentation/Examples/MSBuild/MergeWith/XUnitTestProject3/XUnitTestProject3.csproj
@@ -11,9 +11,9 @@
all
runtime; build; native; contentfiles; analyzers; buildtransitive
-
-
-
+
+
+
all
runtime; build; native; contentfiles; analyzers
diff --git a/Documentation/Examples/VSTest/DeterministicBuild/HowTo.md b/Documentation/Examples/VSTest/DeterministicBuild/HowTo.md
index c25b9cd50..f14a48124 100644
--- a/Documentation/Examples/VSTest/DeterministicBuild/HowTo.md
+++ b/Documentation/Examples/VSTest/DeterministicBuild/HowTo.md
@@ -44,9 +44,9 @@ Add collectors package version generated to `"..\Documentation\Examples\VSTest\D
-
-
-
+
+
+
all
runtime; build; native; contentfiles; analyzers
diff --git a/Documentation/Examples/VSTest/DeterministicBuild/XUnitTestProject1/XUnitTestProject1.csproj b/Documentation/Examples/VSTest/DeterministicBuild/XUnitTestProject1/XUnitTestProject1.csproj
index d63628b1e..556574ff0 100644
--- a/Documentation/Examples/VSTest/DeterministicBuild/XUnitTestProject1/XUnitTestProject1.csproj
+++ b/Documentation/Examples/VSTest/DeterministicBuild/XUnitTestProject1/XUnitTestProject1.csproj
@@ -7,9 +7,9 @@
-
-
-
+
+
+
all
runtime; build; native; contentfiles; analyzers
diff --git a/Documentation/Examples/VSTest/HelloWorld/XUnitTestProject1/XUnitTestProject1.csproj b/Documentation/Examples/VSTest/HelloWorld/XUnitTestProject1/XUnitTestProject1.csproj
index 3ab4b931e..8c1660832 100644
--- a/Documentation/Examples/VSTest/HelloWorld/XUnitTestProject1/XUnitTestProject1.csproj
+++ b/Documentation/Examples/VSTest/HelloWorld/XUnitTestProject1/XUnitTestProject1.csproj
@@ -8,9 +8,9 @@
-
-
-
+
+
+
all
runtime; build; native; contentfiles; analyzers
diff --git a/Documentation/GlobalTool.md b/Documentation/GlobalTool.md
index 99a9f9b4c..e91f67c9d 100644
--- a/Documentation/GlobalTool.md
+++ b/Documentation/GlobalTool.md
@@ -9,40 +9,43 @@ coverlet --help
The current options are (output of `coverlet --help`):
```text
-Cross platform .NET Core code coverage tool 6.0.0.0
+Description:
+ Cross platform .NET Core code coverage tool
-Usage: coverlet [arguments] [options]
+Usage:
+ coverlet.console [options]
Arguments:
- Path to the test assembly or application directory.
+ Path to the test assembly or application directory.
Options:
- -t|--target (REQUIRED) Path to the test runner application.
- -a|--targetargs Arguments to be passed to the test runner.
- -o|--output Output of the generated coverage report
- -v|--verbosity Sets the verbosity level of the command. Allowed values are quiet, minimal, normal, detailed.
- -f|--format Format of the generated coverage report. [default: json]
- --threshold Exits with error if the coverage % is below value.
- --threshold-type Coverage type to apply the threshold to.
- --threshold-stat Coverage statistic used to enforce the threshold value. [default: Minimum]
- --exclude Filter expressions to exclude specific modules and types.
- --include Filter expressions to include only specific modules and types.
- --exclude-by-file Glob patterns specifying source files to exclude.
- --include-directory Include directories containing additional assemblies to be instrumented.
- --exclude-by-attribute Attributes to exclude from code coverage.
- --include-test-assembly Specifies whether to report code coverage of the test assembly.
- --single-hit Specifies whether to limit code coverage hit reporting to a single hit for each location
- --skipautoprops Neither track nor record auto-implemented properties.
- --merge-with Path to existing coverage result to merge.
- --use-source-link Specifies whether to use SourceLink URIs in place of file system paths.
- --does-not-return-attribute Attributes that mark methods that do not return.
- --exclude-assemblies-without-sources Specifies behaviour of heuristic to ignore assemblies with missing source documents.
- --source-mapping-file Specifies the path to a SourceRootsMappings file.
- --version Show version information
- -?, -h, --help Show help and usage information
+ -t, --target (REQUIRED) Path to the test runner application.
+ -a, --targetargs Arguments to be passed to the test runner.
+ -o, --output