IVsProjectFactory Interface

 

Creates projects within the solution.

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

[ComConversionLossAttribute]
[GuidAttribute("33FCD00A-BD45-403C-9C66-07BA9A923501")]
[InterfaceTypeAttribute(1)]
public interface IVsProjectFactory

NameDescription
System_CAPS_pubmethodCanCreateProject(String, UInt32, Int32)

Determines whether a new project can be created.

System_CAPS_pubmethodClose()

Shuts down the project factory.

System_CAPS_pubmethodCreateProject(String, String, String, UInt32, Guid, IntPtr, Int32)

Creates a new project.

System_CAPS_pubmethodSetSite(IServiceProvider)

Initializes 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.

Return to top
Show: