Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

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)

[InterfaceTypeAttribute(1)] 
[GuidAttribute("0DBA1379-5D67-4A6C-8C06-A5795AF7364B")] 
public interface IVsProjectUpgradeViaFactory
/** @attribute InterfaceTypeAttribute(1) */ 
/** @attribute GuidAttribute("0DBA1379-5D67-4A6C-8C06-A5795AF7364B") */ 
public interface IVsProjectUpgradeViaFactory
InterfaceTypeAttribute(1) 
GuidAttribute("0DBA1379-5D67-4A6C-8C06-A5795AF7364B") 
public interface IVsProjectUpgradeViaFactory

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.

For an example of the interface in use, see the code for the Figures Project Sample.

Community Additions

ADD
Show:
© 2015 Microsoft