Install nuget package in a new project in solution, where package is already used for existing projects

StackOverflow https://stackoverflow.com/questions/22389312

سؤال

I have a solution, where I use Nuget for managing my packages.

Using Nuget, I have installed ie. entity framework in X projects in a solution. After, I have added a new project, and I want to install the entity framework in my new project.

However, when I open the nuget package manager, I cannot click install on existing packages I use. So how do I install the entity framework in my new projects?

enter image description here

هل كانت مفيدة؟

المحلول

Easiest way would be to use Package Manager Console. Just select your project from the dropdown and run this command:

Install-Package EntityFramework

You can also use Manage NuGet Packages for Solution dialog, maybe that won't show those packages as installed.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top