Nuget version not working

Daniel White's Avatar

Daniel White

18 Oct, 2017 04:35 PM

I tried doing both Chocolatey and appveyor Download as documented to update the nuget.exe version. However, it appears the old version is still being used.

install:
- cmd: |
    choco install chocolateyPackages.config
    appveyor DownloadFile https://dist.nuget.org/win-x86-commandline/latest/nuget.exe


before_build:
- ps: nuget restore .\src\

Any suggestions on how to get the right one?

  1. Support Staff 1 Posted by Ilya Finkelshte... on 18 Oct, 2017 07:26 PM

    Ilya Finkelshteyn's Avatar

    Hi Daniel,

    Please try run only appveyor DownloadFile https://dist.nuget.org/win-x86-commandline/latest/nuget.exe or even simpler nuget update -self, without choco install chocolateyPackages.config.

    If nuget restore works after that, try to remove nuget from chocolateyPackages.config and try using both commands again.

    Ilya.

  2. 2 Posted by Daniel White on 19 Oct, 2017 12:32 PM

    Daniel White's Avatar

    Thanks. The nuget update -self works.

    Can the next images for VS2017 include the latest version of nuget.exe?

  3. Support Staff 3 Posted by Ilya Finkelshte... on 19 Oct, 2017 04:00 PM

    Ilya Finkelshteyn's Avatar
  4. Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 02:20 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