IVsProjectFactory Interface

Creates projects within the solution.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

public interface IVsProjectFactory

The IVsProjectFactory type exposes the following members.

Public methodCanCreateProjectDetermines whether a new project can be created.
Public methodCloseShuts down the project factory.
Public methodCreateProjectCreates a new project.
Public methodSetSiteInitializes the project factory in the environment and allows the project to obtain services proffered by the environment.

Implemented by a package that implements a project type. This interface is passed to the Visual Studio environment via RegisterProjectType.

Notes to Implementers

Implement IVsProjectFactory when needing to create and site a project within a solution.

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft