NuGet CommandLine Exception

mathewg's Avatar

mathewg

09 Dec, 2015 11:40 PM

Is there a way to suppress NuGet command line exceptions?
This is the exception I am receiving:
Command executed with exception: Exception of type 'NuGet.CommandLineException' was thrown.
 

I am currently using FAKE for build process and inside my build scripts I call a restore packages task which retries up to 5 times.

So if it fails on an attempt to install a NuGet package, but on a retry it is successful does that mean it fails?

  1. Support Staff 1 Posted by Feodor Fitsner on 09 Dec, 2015 11:55 PM

    Feodor Fitsner's Avatar

    What version of nuget.exe do you use?

    -Feodor

  2. 2 Posted by mathewg on 10 Dec, 2015 05:07 AM

    mathewg's Avatar

    Keep in mind this is all through AppVeyor.

    I'm using whatever version of nuget.exe that AppVeyor has installed and pointing at:
    https://nuget.org/api/v2

  3. Support Staff 3 Posted by Feodor Fitsner on 10 Dec, 2015 05:30 AM

    Feodor Fitsner's Avatar

    So, it's default build worker image with VS 2012, not VS 2015?

  4. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:02 AM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

16 Jul, 2019 04:51 AM
15 Jul, 2019 06:33 PM
15 Jul, 2019 06:09 PM
15 Jul, 2019 05:53 PM
15 Jul, 2019 05:46 PM