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?
Comments are currently closed for this discussion. You can start a new one.
|?||Show this help|
|ESC||Blurs the current field|
|r||Focus the comment reply box|
|^ + ↩||Submit the comment|
You can use
Command ⌘ instead of
Control ^ on Mac
Support Staff 1 Posted by Feodor Fitsner on 26 Oct, 2014 04:43 AM
Do you get any errors?
2 Posted by Dieter on 26 Oct, 2014 04:47 AM
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.
Support Staff 3 Posted by Feodor Fitsner on 26 Oct, 2014 04:53 AM
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 Posted by Dieter on 26 Oct, 2014 04:58 AM
They all reference the packages folder at the root of my solution.
5 Posted by Dieter on 27 Oct, 2014 01:31 AM
Here is the latest build log.
Support Staff 6 Posted by Feodor Fitsner on 27 Oct, 2014 01:50 AM
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
EntityFrameworkit does not contain assemblies, only XML docs: https://github.com/coder2000/AirManager/tree/master/packages/Entity...
When you do
nuget restoreit basically believes
EntityFraneworkpackage is already restored and skip it.
Solution - remove
packagesfolder completely and always rely on
nuget restoreduring the build.
Hope that helps.
Ilya Finkelshteyn closed this discussion on 25 Aug, 2018 01:49 AM.