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
When passing a relative path to a script file not relative to the bootstrapper location, the paths to tools get messed up when using the #tool directive.
What is Expected?
The tool path to be relative to the executing script.
What version of Cake are you using?
0.11.0
Are you running on a 32 or 64 bit system?
64-bit
What environment are you running on? Windows? Linux? Mac?
Windows
Are you running on a CI Server? If so, which one?
No
How Did You Get This To Happen? (Steps to Reproduce)
Create the following folder structure:
build.ps1
SubFolder
- build.cake
Where build.cake looks like this:
#tool "nuget:?package=XamarinComponent"
Then you should see that the tool will be downloaded to the wrong location when running the script with a relative path:
./build.ps1 -Script "./SubFolder/build.cake"
The text was updated successfully, but these errors were encountered:
@Redth when you have a minute, and are able to, can you pull the latest MyGet build, and verify that the problem that you noted has been resolved? Thanks!
What You Are Seeing?
When passing a relative path to a script file not relative to the bootstrapper location, the paths to tools get messed up when using the
#tool
directive.What is Expected?
The tool path to be relative to the executing script.
What version of Cake are you using?
0.11.0
Are you running on a 32 or 64 bit system?
64-bit
What environment are you running on? Windows? Linux? Mac?
Windows
Are you running on a CI Server? If so, which one?
No
How Did You Get This To Happen? (Steps to Reproduce)
build.cake
looks like this:#tool "nuget:?package=XamarinComponent"
The text was updated successfully, but these errors were encountered: