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 3.1 command-line returns 0 exit code on restore errors #1259

Closed
FeodorFitsner opened this issue Aug 26, 2015 · 4 comments
Closed

NuGet 3.1 command-line returns 0 exit code on restore errors #1259

FeodorFitsner opened this issue Aug 26, 2015 · 4 comments
Labels
Resolution:Duplicate This issue appears to be a Duplicate of another issue

Comments

@FeodorFitsner
Copy link

When some packages cannot be restored you see "Unable to find version X of package Y" in the log, but at the same time exit code returned by nuget.exe is always 0 and you can't basically handle these errors in build script.

NuGet 2.8.5 treats errors correctly and returns exit code 1.

@emgarten
Copy link
Member

This looks like the same issue as: #1186

@FeodorFitsner
Copy link
Author

Absolutely! So, it's fixed in 3.2?

@emgarten
Copy link
Member

It's fixed, the next nuget.exe release will be coming soon. 😄

@emgarten emgarten added the Resolution:Duplicate This issue appears to be a Duplicate of another issue label Aug 26, 2015
@FeodorFitsner
Copy link
Author

Thank you! :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution:Duplicate This issue appears to be a Duplicate of another issue
Projects
None yet
Development

No branches or pull requests

2 participants