Package.RegisterProjectFactory Method (IVsProjectFactory)
Registers a project factory with Visual Studio.
Assembly: Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)
The RegisterProjectFactory method registers the given project factory with Visual Studio. To register a project factory for a package, perform the following steps:
Add a ProvideProjectFactoryAttribute to your package class.
Unregistration of project factories automatically happens when the package is disposed. If the project factory object implements IDisposable, its Dispose method is called after the factory has been unregistered with Visual Studio.