This topic has not yet been rated - Rate this topic

IVsProjectUpgradeViaFactory4.UpgradeProject_CheckOnly Method

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,
	out uint pUpgradeRequired,
	out Guid pguidNewProjectFactory,
	out uint 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.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.