Share via


IVsProjectFactory Interface

Creates projects within the solution.

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

Syntax

'Declaration
<GuidAttribute("33FCD00A-BD45-403C-9C66-07BA9A923501")> _
<InterfaceTypeAttribute()> _
Public Interface IVsProjectFactory
[GuidAttribute("33FCD00A-BD45-403C-9C66-07BA9A923501")]
[InterfaceTypeAttribute()]
public interface IVsProjectFactory
[GuidAttribute(L"33FCD00A-BD45-403C-9C66-07BA9A923501")]
[InterfaceTypeAttribute()]
public interface class IVsProjectFactory
[<GuidAttribute("33FCD00A-BD45-403C-9C66-07BA9A923501")>]
[<InterfaceTypeAttribute()>]
type IVsProjectFactory =  interface end
public interface IVsProjectFactory

The IVsProjectFactory type exposes the following members.

Methods

  Name Description
Public method CanCreateProject Determines whether a new project can be created.
Public method Close Shuts down the project factory.
Public method CreateProject Creates a new project.
Public method SetSite Initializes the project factory in the environment and allows the project to obtain services proffered by the environment.

Top

Remarks

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.

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace