IVsFileUpgrade2 Interface

Performs file upgrades for specified versions as part of a project upgrade.

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

Syntax

'Declaration
<GuidAttribute("F2394417-A219-4297-BB4E-E66864A6A7DB")> _
<InterfaceTypeAttribute()> _
Public Interface IVsFileUpgrade2
[GuidAttribute("F2394417-A219-4297-BB4E-E66864A6A7DB")]
[InterfaceTypeAttribute()]
public interface IVsFileUpgrade2
[GuidAttribute(L"F2394417-A219-4297-BB4E-E66864A6A7DB")]
[InterfaceTypeAttribute()]
public interface class IVsFileUpgrade2
[<GuidAttribute("F2394417-A219-4297-BB4E-E66864A6A7DB")>]
[<InterfaceTypeAttribute()>]
type IVsFileUpgrade2 =  interface end
public interface IVsFileUpgrade2

The IVsFileUpgrade2 type exposes the following members.

Methods

  Name Description
Public method UpgradeFile Upgrade project with a specified file.
Public method UpgradeFile_CheckOnly Check if a specified tool can be upgraded.

Top

Remarks

Your project should iterate through files in the project, identifying files to upgrade. It should check those files out of the source code control system, if necessary, and then upgrade the files.

See Also

Reference

Microsoft.VisualStudio.Shell.Interop Namespace