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:
- the empty solution level
packages
folder (optionallyrepositories.config
) .nuget
folder , contentspackages.config
every project
Comments
Post a Comment