Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build.sh not working if nuget.config present #65

Open
t081as opened this issue Nov 20, 2018 · 0 comments
Open

build.sh not working if nuget.config present #65

t081as opened this issue Nov 20, 2018 · 0 comments

Comments

@t081as
Copy link

t081as commented Nov 20, 2018

If a nuget.config file containing a repository path is present the build.sh script is not working as expected since the cake executable is extracted to the wrong directory.

build.sh output:

Downloading packages.config...
Downloading NuGet...
Feeds used:
  https://api.nuget.org/v3/index.json

Restoring NuGet package Cake.0.30.0.
  GET https://api.nuget.org/v3-flatcontainer/cake/0.30.0/cake.0.30.0.nupkg
  OK https://api.nuget.org/v3-flatcontainer/cake/0.30.0/cake.0.30.0.nupkg 20ms
Installing Cake 0.30.0.
Adding package 'Cake.0.30.0' to folder '/builds/tobiaskoch/LinkTime/Build/Packages'
Added package 'Cake.0.30.0' to folder '/builds/tobiaskoch/LinkTime/Build/Packages'
Could not find Cake.exe at '/builds/tobiaskoch/LinkTime/Tools/Cake/Cake.exe'.

This happens due to a missing "-OutputDirectory" command line argument in the build.sh script (that is present in the build.ps1 script).

I've prepared pull request #64 to fix the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant