Bagikan melalui


IDatabaseProjectFileUpgradeController.UpgradeProject Method

Performs the upgrade of the project file.

Namespace:  Microsoft.VisualStudio.Data.Schema.Package.Project
Assembly:  Microsoft.VisualStudio.Data.Schema.Package (in Microsoft.VisualStudio.Data.Schema.Package.dll)

Syntax

'Declaration
Sub UpgradeProject ( _
    upgradeOptions As UInteger, _
    logger As IVsUpgradeLogger, _
    projectFileFullPath As String _
)
void UpgradeProject(
    uint upgradeOptions,
    IVsUpgradeLogger logger,
    string projectFileFullPath
)
void UpgradeProject(
    unsigned int upgradeOptions, 
    IVsUpgradeLogger^ logger, 
    String^ projectFileFullPath
)
abstract UpgradeProject : 
        upgradeOptions:uint32 * 
        logger:IVsUpgradeLogger * 
        projectFileFullPath:string -> unit 
function UpgradeProject(
    upgradeOptions : uint, 
    logger : IVsUpgradeLogger, 
    projectFileFullPath : String
)

Parameters

  • upgradeOptions
    Type: System.UInt32
    Flags that are used to determine whether the user has been prompted by the environment to upgrade the solution. For more information, see __VSUPGRADEPROJFLAGS.
  • projectFileFullPath
    Type: System.String
    The full path of the project file.

Remarks

This upgrade occurs before the project factory creates a Visual Studio project instance.

.NET Framework Security

See Also

Reference

IDatabaseProjectFileUpgradeController Interface

Microsoft.VisualStudio.Data.Schema.Package.Project Namespace