NuGet doesn't download all the needed packages

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

  1. Do you get any errors?

  2. 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. 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. They all reference the packages folder at the root of my solution.

  5. Here is the latest build log.

  6. 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 25 Aug, 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