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

NuGet sources with spaces? #616

Closed
allykzam opened this issue Feb 17, 2015 · 2 comments
Closed

NuGet sources with spaces? #616

allykzam opened this issue Feb 17, 2015 · 2 comments
Labels

Comments

@allykzam
Copy link
Contributor

NuGet allows (and I currently use) package locations that include spaces. Both within the nuget.config file and on the command line, this is as simple as quoting the path (this is already done in the config file because the source path is an attribute on an XML node).

Working with a package source I set up for my team's internal libraries and trying to use @dsyme's F# script from here (and subsequently @moodmosaic's fork of it), I get back the error Couldn't get package details for package X on ["C:\Path"]. when specifying source C:\Path With Spaces\.

Given a directory named Test Folder in my c-drive, I've tried the following formats:

Paket.Dependencies.Install """
    source "C:\Test Folder"
    nuget fscheck 0.9.4
"""
Paket.Dependencies.Install "
    source \"C:\Test Folder\"
    nuget fscheck 0.9.4
"

and

Paket.Dependencies.Install "
    source C:\Test\ Folder
    nuget fscheck 0.9.4
"

I have tried creating a symlink to the directory, such that the symlink can be accessed without spaces in the path; this works with no problems.

@forki forki closed this as completed in bc432cf Feb 18, 2015
@forki
Copy link
Member

forki commented Feb 18, 2015

this should be fixed now. please test and tell me if it works for you

@forki forki added the bug label Feb 18, 2015
@allykzam
Copy link
Contributor Author

Tested with paket 0.28.14, is now magically delicious. Thanks, @forki 👍 😄

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

No branches or pull requests

2 participants