NuGet Package Manager for custom project type

Viewed 718

I am wondering if it is possible to enable the NuGet Package Manager in Visual Studio for custom project types.

I created a custom project type using Visual Studio Project System and when I right click the solution and select Manage NuGet Packages... I get the message 'Operation Failed. The project '[ProjectName]' is unsupported.'

If I edit the project file and packages.config file in a text editor and run NuGet commands from the command line (restore, update) it works, but I would like to use the same package manager available to CS and VB projects. I hope there is a simple configuration to enable this.

I have seen tutorials on adding default packages to a project type but I want to allow a developer to use the manager to add new packages or update current ones. Anyone have experience doing this?

1 Answers
Related