Related to: http://nuget.codeplex.com/workitem/2946
If you programmatically create a solution and add a template to the solution that does not have a Nuget Wizard in its .vstemplate, then try and get the IVsPackageInstaller or IvsPackageInstallerServices from the Component Model the linked exception occurs.
If you add a template which has a Nuget Wizard, where nuget is already installing packages, then this error does not occur.
Please advise. I need to install packages into projects that may not have already had Nuget Wizard packages added.