NuGet doesn't download all the needed packages

Dieter's Avatar

Dieter

Oct 26, 2014 @ 04:14 AM

I am trying to build my project AirManager and NuGet doesn't seem to download all the required pacakges. Am I missing something?

  1. Support Staff 1 Posted by Feodor Fitsner on Oct 26, 2014 @ 04:43 AM

    Feodor Fitsner's Avatar

    Do you get any errors?

  2. 2 Posted by Dieter on Oct 26, 2014 @ 04:47 AM

    Dieter's Avatar

    The only errors I get are from my projects not being able to find the required libraries. NuGet keeps saying all required packages are downloaded.

  3. Support Staff 3 Posted by Feodor Fitsner on Oct 26, 2014 @ 04:53 AM

    Feodor Fitsner's Avatar

    Make sure project references are correct - sometimes there are absolute paths or wrong hint paths. The best way to do that is to open proj file in text editor.

  4. 4 Posted by Dieter on Oct 26, 2014 @ 04:58 AM

    Dieter's Avatar

    They all reference the packages folder at the root of my solution.

  5. 5 Posted by Dieter on Oct 27, 2014 @ 01:31 AM

    Dieter's Avatar

    Here is the latest build log.

  6. Support Staff 6 Posted by Feodor Fitsner on Oct 27, 2014 @ 01:50 AM

    Feodor Fitsner's Avatar

    Thanks for sharing the log. Apparently, your project is public, so it definitely makes troubleshooting easier :)

    Take for example the very first error Could not resolve this reference. Could not locate the assembly "EntityFramework". Hint path looks correct: https://github.com/coder2000/AirManager/blob/master/AirManager.Comm...

    But if you look at packages folder for EntityFramework it does not contain assemblies, only XML docs: https://github.com/coder2000/AirManager/tree/master/packages/Entity...

    When you do nuget restore it basically believes EntityFranework package is already restored and skip it.

    Solution - remove packages folder completely and always rely on nuget restore during the build.

    Hope that helps.

  7. Ilya Finkelshteyn closed this discussion on Aug 25, 2018 @ 01:49 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