This repository has been archived by the owner on Nov 15, 2021. It is now read-only.
How to use a specific version of OpenCover when multiple are installed. #1046
Unanswered
table-apple
asked this question in
Q&A
Replies: 1 comment
-
i don't know much about the cake script but I suspect you would need to override its default location somehow |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In my one of the .cake script (1), I have specified the version of OpenCover to be installed using the tool directive.
#tool "nuget:?package=OpenCover&version=4.7.1204"
This installs the specified version of OpenCover in the tools section.
Another .cake script (2), is installing the latest version of OpenCover in the tools section.
#tool "nuget:?package=OpenCover"
I want to use OpenCover in the .cake script (1) (as below). How do I specify which version to use? By default, its using the OpenCover version installed by the command - #tool "nuget:?package=OpenCover"
Executing -
OpenCover(
// Body
);
Please look at the tools directory, for getting an idea on the directory structure.
Beta Was this translation helpful? Give feedback.
All reactions