Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

NuGet Restore Error !
Griff
#1 Posted : Friday, October 9, 2015 1:44:40 PM(UTC)
Rank: Newbie

Groups: Registered
Joined: 10/9/2015(UTC)
Posts: 4
Location: United Kingdom

Hi

I am getting the error This project references NuGet package(s) that are missing on this computer. Enable NuGet Package Restore to download them, when trying to run execute a project from the command line tool.

I have included <AdditionalFilesToInclude>bin\Debug\**.*</AdditionalFilesToInclude> in my config file to no success.

Can you help ?

Kind regards

Remco
#2 Posted : Friday, October 9, 2015 8:45:29 PM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,144

Thanks: 959 times
Was thanked: 1290 time(s) in 1196 post(s)
Hi, thanks for posting.

Try including your NuGet packages directory in the AdditionalFilesToInclude solution-level setting ... i.e. '..\packages\**.*'

Avoid including the bin\Debug directory as this will cause NCrunch's build to trigger unnecessarily when you build your projects in VS. It may also mask other things that aren't working and give you assembly resolution issues.


Cheers,

Remco
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAF | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.024 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download