IVsProjectUpgradeViaFactory Interface

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.

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

Syntax

'Declaration
<GuidAttribute("0DBA1379-5D67-4A6C-8C06-A5795AF7364B")> _
<InterfaceTypeAttribute()> _
Public Interface IVsProjectUpgradeViaFactory
[GuidAttribute("0DBA1379-5D67-4A6C-8C06-A5795AF7364B")]
[InterfaceTypeAttribute()]
public interface IVsProjectUpgradeViaFactory
[GuidAttribute(L"0DBA1379-5D67-4A6C-8C06-A5795AF7364B")]
[InterfaceTypeAttribute()]
public interface class IVsProjectUpgradeViaFactory
[<GuidAttribute("0DBA1379-5D67-4A6C-8C06-A5795AF7364B")>]
[<InterfaceTypeAttribute()>]
type IVsProjectUpgradeViaFactory =  interface end
public interface IVsProjectUpgradeViaFactory

The IVsProjectUpgradeViaFactory type exposes the following members.

Methods

  Name Description
Public method GetSccInfo Gets source code control information.
Public method UpgradeProject Upgrades a project.
Public method UpgradeProject_CheckOnly Checks to see if a project needs to be upgraded.

Top

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.

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace