共用方式為


IVsProjectUpgradeViaFactory Interface

Definition

Upgrade the project using the project factory. Used by the solution before opening the project. This interface must be available through querying the project factory.

public interface class IVsProjectUpgradeViaFactory
public interface class IVsProjectUpgradeViaFactory
__interface IVsProjectUpgradeViaFactory
[System.Runtime.InteropServices.Guid("0DBA1379-5D67-4A6C-8C06-A5795AF7364B")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsProjectUpgradeViaFactory
[<System.Runtime.InteropServices.Guid("0DBA1379-5D67-4A6C-8C06-A5795AF7364B")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsProjectUpgradeViaFactory = interface
Public Interface IVsProjectUpgradeViaFactory
Attributes

Remarks

This interface is optional but recommended for all new projects. This is the only mechanism that supports copy upgrade. IVsProjectUpgrade will be called whether or not upgrade via factory is implemented or called. This allows IVSProjectUpgradeViaFactory to implement only the copy and project portions of the upgrade, and delegate the rest of the work to be done in-place (at possibly the new location).

Use the SVsUpgradeLogger (SID_SVsUpgradeLogger) service to report informational and error messages.

Methods

GetSccInfo(String, String, String, String, String)

Gets source code control information.

UpgradeProject(String, UInt32, String, String, IVsUpgradeLogger, Int32, Guid)

Upgrades a project.

UpgradeProject_CheckOnly(String, IVsUpgradeLogger, Int32, Guid, UInt32)

Checks to see if a project needs to be upgraded.

Applies to