Open augustoproiete opened 3 years ago
This is a followup to the second part of https://github.com/cake-build/cake/issues/2685#issuecomment-702973435:
- Integrating with dotnet
local
toolsAlso, for this to integrate better with dotnet local tools, the
#tool
directive should use the local tool directly, presumably invokingdotnet <tool>
, rather than extracting and copying what was previously a global tool into the Cake tools directory alongside addins and modules. (I'm hoping such a change would also avoid the quirk resulting from building the same directory in Windows and then WSL or Docker with a host mount, or vice versa, where you first need to explicitly delete any such copied dotnet tools which would be for the wrong platform.)
@gitfool wrote:
Note: I'm not sure this is a good idea and I'm currently stuck determining what the implementation looks like given local tools seem to be managed by the dotnet CLI.
I'll create a work-in-progress PR with how far I've got, including fixes for some minor bugs I found.