You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I use coverlet .console in cake build and already defined this #tool dotnet:?package=coverlet.console&version=6.0.0
The script can be executed successfully most of the time but occasionally it would encountered below error:
The tool package could not be restored.
error Tool 'coverlet.console' failed to install. This failure may have been caused by:
error * You are attempting to install a preview release and did not use the --version option to specify the version.
error * A package by this name was found, but it was not a .NET tool.
error * The required NuGet feed cannot be accessed, perhaps because of an Internet connection problem.
error * You mistyped the name of the tool.
error For more reasons, including package naming enforcement, visit https://aka.ms/failure-installing-tool
build dotnet exited with 1
build Could not find any relevant files for tool 'coverlet.console'. Perhaps you need an include parameter?
error Error: Failed to install tool 'coverlet.console'.
If I rerun the script again, it could be successfully executed. Any idea about this issue?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi,
I use coverlet .console in cake build and already defined this #tool dotnet:?package=coverlet.console&version=6.0.0
The script can be executed successfully most of the time but occasionally it would encountered below error:
The tool package could not be restored.
error Tool 'coverlet.console' failed to install. This failure may have been caused by:
error * You are attempting to install a preview release and did not use the --version option to specify the version.
error * A package by this name was found, but it was not a .NET tool.
error * The required NuGet feed cannot be accessed, perhaps because of an Internet connection problem.
error * You mistyped the name of the tool.
error For more reasons, including package naming enforcement, visit https://aka.ms/failure-installing-tool
build dotnet exited with 1
build Could not find any relevant files for tool 'coverlet.console'. Perhaps you need an include parameter?
error Error: Failed to install tool 'coverlet.console'.
If I rerun the script again, it could be successfully executed. Any idea about this issue?
Beta Was this translation helpful? Give feedback.
All reactions