Build/Test Issues

NuGet Restore Error !

Started by Griff on 2,522 views

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

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

Post a reply

Log in to reply.