Replies: 1 comment
-
I am afraid you are mixing 2 different "tools". When you use the pre-processor directive I feel you have two solutions to your task: using the
|
Beta Was this translation helpful? Give feedback.
-
I am afraid you are mixing 2 different "tools". When you use the pre-processor directive I feel you have two solutions to your task: using the
|
Beta Was this translation helpful? Give feedback.
-
Hi Community,
I successfully installed a dotnet tool with the preprocessor directive:
#tool dotnet:?package=dotnet-sonarscanner
But when I want to use it from the build script, I get the error that the tool is not found. I try to use it like this:
DotNetTool("sonarscanner", ...);
Apparently, DotNetTool command can execute the sonarscanner tool when it is globally installed. I would prefer to install the tool locally. How can I execute the tool in this case with DotNetTool command? I cannot find any info about this online.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions