Peru
Peru

Reputation: 2971

Manage Nuget packages under File menu VS

I’m working on NuGet (Library Package Manager) customization, there I have a requirement to place “Manage NuGet Packages…” sub menu item under File menu in VS2010. I have identified that the changes needs to be done on vsct file (NugetTools.vsct) but I’m not sure how to add File Menu item and then place “Manage NuGet Packages…” under File menu?

let me know if you have any idea on this?

As of now “Manage NuGet Packages…” is appearing under Project menu item and under References of the Project (when right click references under project).

Upvotes: 1

Views: 767

Answers (1)

Betty
Betty

Reputation: 9189

Do you actually need to put it there? The user should be capable of adding it there themselves.

  • Tools -> Customize
  • Select the second tab (Commands)
  • In the dropdown select "File"
  • Click the Add Command button
  • Browse to Tools
  • Add the cmdidAddPackagesForSolution item to your menu
  • Close out of the dialog, open your file menu, check that it is in there.

Upvotes: 2

Related Questions