When I build my project from within VS2012 I get the following error message
This project references NuGet package(s) that are missing on this computer.
Enable NuGet Package Restore to download them.
I have the nuget options set for NuGet to download missing packages.
Yet I still get the error. I have nugget 2.7 installed. With VS2012 update 3
Please follow below mentioned steps:
Step 1: Please enable Nuget Package Restore by right clicking on solution [as mentioned in below screenshot]
Step 2: [Follow this if the issue / error is not resolved by following step 1] Still if you face the issue, please open .csproj file in notepad and check for the package path which might look like
So your solutions directory structure will be like:
Package Directory:
Project Directory:
Please open this .csproj [in which you're getting error] in notepad and search for packages path and update it to its relevant path.
For e.g. my .csproj contained, if .csproj file contains
..\..\packages
then update that path with..\packages
Remove the .nuget directory from the solution if it exists. Edit the project file and remove the elements Import and Target that contain references to the .nuget folder, Save and reload the project.