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 1.6 makes -b Ambiguous for pack #188

Open
jeff2001 opened this issue Jan 4, 2012 · 1 comment
Open

Nuget 1.6 makes -b Ambiguous for pack #188

jeff2001 opened this issue Jan 4, 2012 · 1 comment
Milestone

Comments

@jeff2001
Copy link

jeff2001 commented Jan 4, 2012

Using Nuget 1.6.21205.9031 when trying to create a Nuget package the following error is generated.
"Ambiguous option 'b'. Possible values: BasePath Build."

changing the line 29 in nugetpack.rb from
params << "-b #{base_folder}" unless @base_folder.nil?
to
params << "-BasePath #{base_folder}" unless @base_folder.nil?
fixes the issue.

bluephlame added a commit to bluephlame/Albacore that referenced this issue Apr 22, 2012
@shawnmclean
Copy link

I have this same problem:

nugetpack :nup => :nus do |nuget|
nuget.command = "tools/NuGet.exe"
nuget.nuspec = "CascadingDropDown.nuspec"
nuget.base_folder = "build/"
nuget.output = "build/"
end

$ rake build
coffee -c -o build/ src/
Ambiguous option 'b'. Possible values: BasePath Build.
F, [2012-05-07T12:39:08.221322 #12008] FATAL -- : NuGet Failed. See Build Log For Detail
rake aborted!
NuGet Failed. See Build Log For Detail

Project URL: https://github.com/shawnmclean/CascadingDropDown

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

No branches or pull requests

2 participants