简体   繁体   中英

Installed nuget packages in Visual Studio 2019 project checkbox unchecked

I am trying to create a packages file for the project & noticed that installed nuget packages in Visual Studio 2019 have got the project box unchecked. I am positive that I am using these packages in the project.

For instance I am using the Entity Framework for the data access & update. I have ensured that all the packages are still being used in the project & the packages.config file has got all the packages listed in it.

Visual Studio ScreenShot

Installed nuget packages in Visual Studio 2019 project checkbox unchecked

The window which you provided actually does not actually work as you described. And it is just designed by that.

What you need to note is that the projects that can be displayed on this window, such as 2020Portal.Data , 2020Portal.Mailbox , etc., have already installed the nuget package Entity Framework . Only projects that already have the nuget package installed can be displayed in this window. That's why they show up there.

And the checkbox functionality is only intended to enable the selected items to perform uninstall or update the nuget Entity Framework . It's just for the convenience of choosing certain operations to perform.

在此处输入图片说明

Hope it could help you.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM