Reputation: 959
I have created a web application project. While developing my application, I have installed some packages from NuGet and yet they still there in my project. But when I copy my project to another computer and try to run the project, there are many errors occurred because all references are marked with yellow alerts.
I open the project with file .sln
When I run the project, it generated a lot of error because it cannot find the libraries.
As Abhay Saraf's request, I provide the link to download .csproj section: http://www.hellomeo.net/Umbraco/EmployeeLeaveManagement.zip
Upvotes: 0
Views: 182
Reputation: 3766
First, you need to check the packages.config file in your project to confirm all packages are listed in this file. Then please check your Visual Studio settings (Tools -> Options -> NuGet Package Manager -> General), the options under Package Restore are all checked as below screenshot.
If above options are checked but the packages still not restore automatically, please use following ways to restore packages for entire solution.
Upvotes: 1
Reputation: 9500
Right-click on one of the missing references, choose Properties
and see what the Path is set to. Is the Path correct?
Upvotes: 0