Share via


FlavoredProjectFactory Class

Definition

A factory for creating flavored projects, otherwise known as project subtypes.

public ref class FlavoredProjectFactory abstract : Microsoft::VisualStudio::Shell::Interop::IVsAggregatableProjectFactory, Microsoft::VisualStudio::Shell::Interop::IVsProjectFactory
[Windows::Foundation::Metadata::WebHostHidden]
class FlavoredProjectFactory abstract : Microsoft::VisualStudio::Shell::Interop::IVsAggregatableProjectFactory, Microsoft::VisualStudio::Shell::Interop::IVsProjectFactory
public abstract class FlavoredProjectFactory : Microsoft.VisualStudio.Shell.Interop.IVsAggregatableProjectFactory, Microsoft.VisualStudio.Shell.Interop.IVsProjectFactory
type FlavoredProjectFactory = class
    interface IVsAggregatableProjectFactory
    interface IVsProjectFactory
Public MustInherit Class FlavoredProjectFactory
Implements IVsAggregatableProjectFactory, IVsProjectFactory
Inheritance
FlavoredProjectFactory
Implements

Remarks

This class has been deprecated. Flavored projects should inherit from FlavoredProjectFactoryBase instead.

Constructors

Name Description
FlavoredProjectFactory()

Initializes a new instance of FlavoredProjectFactory.

Properties

Name Description
serviceProvider

Gets the project's service provider.

Methods

Name Description
CanCreateProject(String, UInt32)

Determines whether or not the project can be created with the supplied parameters.

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

Creates a project.

Dispose(Boolean)

Disposes the service provider.

Initialize()

Initializes the project factory.

PreCreateForOuter(Object)

Creates an instance of the project.

ProjectTypeGuids(String)

Gets the set of project type GUIDs from the project file.

Explicit Interface Implementations

Name Description
IVsAggregatableProjectFactory.GetAggregateProjectType(String, String)

Gets a semicolon-delimited string of project type GUIDs.

IVsAggregatableProjectFactory.PreCreateForOuter(Object, Object)

Creates an aggregatable inner project.

IVsProjectFactory.CanCreateProject(String, UInt32, Int32)

Determines whether or not the project can be created.

IVsProjectFactory.Close()

Disposes this object.

IVsProjectFactory.CreateProject(String, String, String, UInt32, Guid, IntPtr, Int32)

Creates a flavored project.

IVsProjectFactory.SetSite(IServiceProvider)

Initializes the project and allows the project to obtain services proffered by the environment.

Applies to