NuGet package JetBrains.dotCover.DotNetCliTool is deprecated, last release: 2024.2.4
New versions of DotCover are only available when using package JetBrains.dotCover.CommandLineTools
Nuke's DotCoverTasks cannot start dotCover under Linux when using package JetBrains.dotCover.CommandLineTools, error:
---> System.ArgumentException: Could not find 'mono' via '/usr/bin/which'.
System.AggregateException: One or more errors occurred. (Could not find 'mono' via '/usr/bin/which'.)
---> System.ArgumentException: Could not find 'mono' via '/usr/bin/which'.
Regression?
No
Known Workarounds
Resolve and set tool path manually with every invocation:
Usage Information
Nuke v8.0.0 on Linux, NET SDK 8
Description
Nuke supports 2 NuGet packages for DotCover:
JetBrains.dotCover.DotNetCliTool
andJetBrains.dotCover.CommandLineTools
https://github.com/nuke-build/nuke/blob/e2c7e08f8eb9cd2610e0d36cb9feae8adc1a4a48/source/Nuke.Common/Tools/DotCover/DotCoverTasks.cs#L14NuGet package
JetBrains.dotCover.DotNetCliTool
is deprecated, last release: 2024.2.4New versions of DotCover are only available when using package
JetBrains.dotCover.CommandLineTools
Nuke's DotCoverTasks cannot start dotCover under Linux when using package
JetBrains.dotCover.CommandLineTools
, error:---> System.ArgumentException: Could not find 'mono' via '/usr/bin/which'.
Problem: File
dotcover.sh
is no longer available in packageJetBrains.dotCover.CommandLineTools
, see https://nuget.info/packages/JetBrains.dotCover.CommandLineTools/2023.3.4, in obsolete package file exists: https://nuget.info/packages/JetBrains.dotCover.DotNetCliTool/2022.2.4 ->dotCover.exe
will be launched which is a .NET framework applicationReproduction Steps
JetBrains.dotCover.CommandLineTools
Expected Behavior
DotCover tool runs
Actual Behavior
Error message:
Regression?
No
Known Workarounds
Resolve and set tool path manually with every invocation:
Could you help with a pull-request?
Yes