Freigeben über


IVsProjectFlavorUpgradeViaFactory2.UpgradeProjectFlavor_CheckOnly Method

Definition

Checks if a flavored project upgrade is possible.

public void UpgradeProjectFlavor_CheckOnly (string pszFileName, object pUpgradeBuildPropStg, string pszProjFileXMLFragment, string pszUserFileXMLFragment, Microsoft.VisualStudio.Shell.Interop.IVsUpgradeLogger pLogger, out uint pUpgradeRequired, out Guid pguidNewProjectFactory);
abstract member UpgradeProjectFlavor_CheckOnly : string * obj * string * string * Microsoft.VisualStudio.Shell.Interop.IVsUpgradeLogger * uint32 * Guid -> unit
Public Sub UpgradeProjectFlavor_CheckOnly (pszFileName As String, pUpgradeBuildPropStg As Object, pszProjFileXMLFragment As String, pszUserFileXMLFragment As String, pLogger As IVsUpgradeLogger, ByRef pUpgradeRequired As UInteger, Optional ByRef pguidNewProjectFactory As Guid)

Parameters

pszFileName
String

[in] Name of the file to upgrade.

pUpgradeBuildPropStg
Object

[in] Used to read and update build-related properties and imports.

pszProjFileXMLFragment
String

[in] Project file XML fragment.

pszUserFileXMLFragment
String

[in] Project user file XML fragment.

pLogger
IVsUpgradeLogger

[in] A IVsUpgradeLogger upgrade logger.

pUpgradeRequired
UInt32

[out] The flag indicating the type of upgrade.

pguidNewProjectFactory
Guid

[out, optional] Pointer to the project factory. If a different project flavor factory should be used to create the upgraded project, the GUID is returned here

Applies to