-
Notifications
You must be signed in to change notification settings - Fork 903
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
cpack nuspec results in "The path is not of a legal form" #164
Comments
Use .\myfile.nuspec Out of curiosity, are you using powershell? On Wednesday, March 11, 2015, Chevdor notifications@github.com wrote:
Rob http://devlicio.us/blogs/rob_reynolds |
thanks for the answer @ferventcoder nop. I ran cpack in a command prompt (not powershell). So |
Kind of weird yes. Prolly something we should fix. On Wednesday, March 11, 2015, Chevdor notifications@github.com wrote:
Rob http://devlicio.us/blogs/rob_reynolds |
When file_system.get_full_path is passed an empty string resulting from grabbing the directory name, it would throw the error above. Instead, allow it to return immediately, then use the current directory instead. This usually happens when calling `choco pack some.nuspec`.
* stable: (chocolateyGH-231) nupkg should be created in current directory (chocolateyGH-232) Pack includes files from nuspec directory (chocolateyGH-164) Fix "The path is not of a legal form"
Running
cpack
and getting the following error:The verbose switch does not tell me more. it would be good to know WHICH path is not ok.
I figured out this happens only when I specify the nuspec file.
cpack myfile.nuspec
gives the errorcpack
works fineI am using v0.9.9.2
The text was updated successfully, but these errors were encountered: