Visual Studio Online and Automatic Nuget Package Restore are failing

user11081980

I have a VS2015 solution with a few projects. When I checked in to VSO, I get a bunch of these error messages:

This project references NuGet package(s) that are missing on this computer. Use NuGet Package Restore to download them. For more information, see http://go.microsoft.com/fwlink/?LinkID=322105. The missing file is ...

Meaning that Nuget is not restoring the packages. Some other posts on SO propose to enable Nuget restore at the solution level, which adds 3 files to the solution and updates the projects.

The issue is that Visual Studio 2015 does not provide this feature anymore, because it now favors the Automatic Nuget Package restore feature. Nuget official documentation is not that clear either. Any help will be much appreciated.

user11081980

I solved this issue by deleting the packages folder from my project in VSO. Now, when I check in, it can restore the packages properly and build successfully.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Visual Studio Online: Nuget Package restore fails

From Java

How do I enable NuGet Package Restore in Visual Studio?

From Dev

Nuget restore package started to fail in Visual Studio Team Services build

From Dev

NuGet package restore with Mono on Travis CI failing

From Dev

Nuget Automatic Package Restore and custom sources

From Dev

VisualStudio.com (Visual Studio Team Services) builds failing on nuget package dependencies

From Dev

Visual Studio 2013 NuGet package restore does not work from command line (not msbuild but vcvarsall.bat)

From Dev

Visual Studio checks out all projects file after enabling of the nuget package restore

From Dev

Visual Studio NuGet Cannot Restore Packages

From Dev

What are the advantages of using Nuget automatic package restore in the enterprise?

From Dev

What are the advantages of using Nuget automatic package restore in the enterprise?

From Dev

TFS Online Build Fails - NuGet package Restore Not working

From Dev

Use custom NuGet feed in Visual Studio Online

From Dev

Visual Studio Online - Get Latest and NuGet

From Dev

Automatic Package Restore with Nuget, custom package sources, and duplicate package names/versions

From Dev

NuGet Package restore failed

From Dev

How to restore Nuget package

From Dev

NuGet Package Restore in Bamboo

From Dev

NuGet Package restore failed

From Dev

Nuget package restore ERROR

From Dev

Create nuget package from Visual Studio 2013

From Dev

Nuget Package Custom Visual Studio Destination Folder

From Dev

Adding Nuget Package Sources to visual studio by script

From Dev

How to install Nuget Package without Visual Studio?

From Dev

configure visual studio with nuget package, VSIX automatically

From Dev

NuGet Automatic Restore And Installing NuGets

From Dev

NuGet can't resolve a dependency when updating a local package with dependencies from online repositories using Visual Studio 2015 Update 1

From Dev

NuGet - How to configure package restore on MonoDevelop/Xamarin Studio

From Dev

Visual Studio Team Services Continuous Integration: NuGet Restore Task Failed

Related Related

  1. 1

    Visual Studio Online: Nuget Package restore fails

  2. 2

    How do I enable NuGet Package Restore in Visual Studio?

  3. 3

    Nuget restore package started to fail in Visual Studio Team Services build

  4. 4

    NuGet package restore with Mono on Travis CI failing

  5. 5

    Nuget Automatic Package Restore and custom sources

  6. 6

    VisualStudio.com (Visual Studio Team Services) builds failing on nuget package dependencies

  7. 7

    Visual Studio 2013 NuGet package restore does not work from command line (not msbuild but vcvarsall.bat)

  8. 8

    Visual Studio checks out all projects file after enabling of the nuget package restore

  9. 9

    Visual Studio NuGet Cannot Restore Packages

  10. 10

    What are the advantages of using Nuget automatic package restore in the enterprise?

  11. 11

    What are the advantages of using Nuget automatic package restore in the enterprise?

  12. 12

    TFS Online Build Fails - NuGet package Restore Not working

  13. 13

    Use custom NuGet feed in Visual Studio Online

  14. 14

    Visual Studio Online - Get Latest and NuGet

  15. 15

    Automatic Package Restore with Nuget, custom package sources, and duplicate package names/versions

  16. 16

    NuGet Package restore failed

  17. 17

    How to restore Nuget package

  18. 18

    NuGet Package Restore in Bamboo

  19. 19

    NuGet Package restore failed

  20. 20

    Nuget package restore ERROR

  21. 21

    Create nuget package from Visual Studio 2013

  22. 22

    Nuget Package Custom Visual Studio Destination Folder

  23. 23

    Adding Nuget Package Sources to visual studio by script

  24. 24

    How to install Nuget Package without Visual Studio?

  25. 25

    configure visual studio with nuget package, VSIX automatically

  26. 26

    NuGet Automatic Restore And Installing NuGets

  27. 27

    NuGet can't resolve a dependency when updating a local package with dependencies from online repositories using Visual Studio 2015 Update 1

  28. 28

    NuGet - How to configure package restore on MonoDevelop/Xamarin Studio

  29. 29

    Visual Studio Team Services Continuous Integration: NuGet Restore Task Failed

HotTag

Archive