c# - NuGet Package Restore Issue -


i need nuget automatically restore packages. @ moment, referenced dlls missing.

i have enabled package restore on solution.

the .nuget folder checked in.

the packages.config file checked in each project.

the packages folder (on solution level) check in.

the packages folder contains folders packages solution uses nuspec , nupkg files each package. dll not checked in.

in visualstudio packages installed reference dll in each project missing (ass dll not checked in).

i have tried install nugetpowertools. same story.

thanks,

there no reason check-in underneath packages folder. optionally, can check in repositories.config file technically not required.

do right have checked-in nuspec , nupkg files within packages folder? if so, delete them. these restored, , presence might causing restore failures (i don't think nuget package restore checking presence of package contents, , rather checks presence of nupkg/nuspec file in packages folder, skipping package being restored if found)

in summary, check in only:

  1. the empty solution level packages folder (optionally repositories.config)
  2. .nuget folder , contents
  3. packages.config every project

Comments

Popular posts from this blog

ios - UICollectionView Self Sizing Cells with Auto Layout -

node.js - ldapjs - write after end error -

DOM Manipulation in Wordpress (and elsewhere) using php -