question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How do I specify the version in the #tool directive?

See original GitHub issue

I’m using the #tool directive to reference the NUnit.Runners package:

#tool "NUnit.Runners"

Currently it picks version 2.6.4, which is what I want, so it’s OK. But Is there a way to specify the version explicitly? Because when NUnit 3.0 is released (if this day ever comes), I might not want to update immediately…

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:15 (13 by maintainers)

github_iconTop GitHub Comments

1reaction
thomaslevesquecommented, Jul 19, 2016

I believe that the core requirement within this issue has now been met

Absolutely. Thanks!

0reactions
gep13commented, Jul 19, 2016

@thomaslevesque I believe that the core requirement within this issue has now been met, as you can specify the version number that you want to use within both the #addin and #tool directive. You can see more information about this here: http://cakebuild.net/docs/fundamentals/preprocessor-directives

I am going to close this issue, but feel free to re-open if required.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Setting the version number for .NET Core projects - CSPROJ
Currently, Version composition works as this: If Version is unset, use VersionPrefix (defaults to 1.0.0 if unset) and - if present - append ......
Read more >
Determine which .NET Framework versions are installed
Use code, regedit.exe, or PowerShell to detect which versions of .NET Framework are installed on a machine by querying the Windows registry.
Read more >
Preprocessor Directives
Reference directive, Directive to reference external assemblies for use in your scripts ; Tool directive, Directive to install external command-line tools.
Read more >
Using #if compiler from now on instead of swift-tools ...
I tried specifying .v5 in the 4.2 manifest but SwiftPM rejected it insisting I use a 5.0 tools version. I know you used...
Read more >
Set value of directive in Directives - MATLAB
This MATLAB function assigns a value to the named directive in coder.make.Directives.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found