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

Handle when there is no push nuget feed url specified for pushing the solution nuget package. #10

Closed
dazinator opened this issue May 2, 2015 · 0 comments
Assignees
Labels

Comments

@dazinator
Copy link
Owner

If you specify /p:CreateSolutionDeploymentPackage but don't also specify the url to push that package to, the build fails - as it goes on to try and push to a blank url.

To replicate:

msbuild "G:\test\test.sln" /p:CreateSolutionDeploymentPackage=true /p:
NuGetExeFilePath="packages\NuGet.CommandLine.2.8.2\tools\NuGet.exe" /p:BuildVers
ionNumber=12345

The error:

Build FAILED.

"G:\test\test.sln" (default target) (1) ->
(CreateAndPushNugetPackage target) ->
  G:\test\after.test.sln.targets(41,5): error MSB3073: The command ""packages\NuGet.Comm
andLine.2.8.2\tools\NuGet.exe" push G:\test\\*.nupkg  -s  " exited with code 1. [G:\test\test.sln]
@dazinator dazinator added the bug label May 2, 2015
@dazinator dazinator self-assigned this May 2, 2015
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

1 participant