Share via


IVsProjectUpgradeViaFactory4.UpgradeProject_CheckOnly Method

Definition

Checks to see if a project needs to be upgraded.

public:
 void UpgradeProject_CheckOnly(System::String ^ pszFileName, Microsoft::VisualStudio::Shell::Interop::IVsUpgradeLogger ^ pLogger, [Runtime::InteropServices::Out] System::UInt32 % pUpgradeRequired, [Runtime::InteropServices::Out] Guid % pguidNewProjectFactory, [Runtime::InteropServices::Out] System::UInt32 % pUpgradeProjectCapabilityFlags);
public void UpgradeProject_CheckOnly (string pszFileName, Microsoft.VisualStudio.Shell.Interop.IVsUpgradeLogger pLogger, out uint pUpgradeRequired, out Guid pguidNewProjectFactory, out uint pUpgradeProjectCapabilityFlags);
abstract member UpgradeProject_CheckOnly : string * Microsoft.VisualStudio.Shell.Interop.IVsUpgradeLogger * uint32 * Guid * uint32 -> unit
Public Sub UpgradeProject_CheckOnly (pszFileName As String, pLogger As IVsUpgradeLogger, ByRef pUpgradeRequired As UInteger, ByRef pguidNewProjectFactory As Guid, ByRef pUpgradeProjectCapabilityFlags As UInteger)

Parameters

pszFileName
String

[in] Project file of project to update.

pLogger
IVsUpgradeLogger

[in] An IVsUpgradeLogger interface to the upgrade logger.

pUpgradeRequired
UInt32

[out] The specialized upgrade options specified by the __VSPPROJECTUPGRADEVIAFACTORYREPAIRFLAGS enumeration.

pguidNewProjectFactory
Guid

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

pUpgradeProjectCapabilityFlags
UInt32

[in] Upgrade types specified by the __VSPPROJECTUPGRADEVIAFACTORYFLAGS enumeration. Only one may be specified.

Applies to