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.
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
Support Staff 1 Posted by Feodor Fitsner on Oct 26, 2014 @ 04:43 AM
Do you get any errors?
2 Posted by Dieter on Oct 26, 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 Oct 26, 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 Oct 26, 2014 @ 04:58 AM
They all reference the packages folder at the root of my solution.
5 Posted by Dieter on Oct 27, 2014 @ 01:31 AM
Here is the latest build log.
Support Staff 6 Posted by Feodor Fitsner on Oct 27, 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
packages
folder forEntityFramework
it does not contain assemblies, only XML docs: https://github.com/coder2000/AirManager/tree/master/packages/Entity...When you do
nuget restore
it basically believesEntityFranework
package is already restored and skip it.Solution - remove
packages
folder completely and always rely onnuget restore
during the build.Hope that helps.
Ilya Finkelshteyn closed this discussion on Aug 25, 2018 @ 01:49 AM.