IVsProjectUpgradeViaFactory4::UpgradeProject_CheckOnly Method (String^, IVsUpgradeLogger^, UInt32, Guid, UInt32)

 

Checks to see if a project needs to be upgraded.

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

void UpgradeProject_CheckOnly(
	String^ pszFileName,
	IVsUpgradeLogger^ pLogger,
	[OutAttribute] unsigned int% pUpgradeRequired,
	[OutAttribute] Guid% pguidNewProjectFactory,
	[OutAttribute] unsigned int% pUpgradeProjectCapabilityFlags
)

Parameters

pszFileName
Type: System::String^

[in] Project file of project to update.

pLogger
Type: Microsoft.VisualStudio.Shell.Interop::IVsUpgradeLogger^

[in] An IVsUpgradeLogger interface to the upgrade logger.

pUpgradeRequired
Type: System::UInt32

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

pguidNewProjectFactory
Type: System::Guid

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

pUpgradeProjectCapabilityFlags
Type: System::UInt32

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

Return to top
Show: