Expand Minimize

__VSPPROJECTUPGRADEVIAFACTORYFLAGS Enumeration

Specifies action to take with OnAfterUpgradeProject calls.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

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

[FlagsAttribute]
public enum __VSPPROJECTUPGRADEVIAFACTORYFLAGS

Member nameDescription
PUVFF_SXSBACKUPSide-by-side backup supported.
PUVFF_COPYBACKUPXcopy style backup supported.
PUVFF_BACKUPSUPPORTEDBackup is supported.

All implementations that return either PUVFF_SXSBACKUP or PUVFF_COPYBACKUP should also return PUVFF_BACKUPSUPPORTED. This enables aggregated project systems to AND together capabilities. Visual Studio takes this to mean 'multiple projects support mutually exclusive backup types,' as differentiated from 'no backup options available.'

PUVFF_USE_ALT_BACKUP_LOCATIONBy default, copy backup occurs in a subfolder of the solution. There are times where this is unwanted. In those cases UpgradeProject_CheckOnly can return PUVFF_USE_ALT_BACKUP_LOCATION. This defaults to using a subfolder under the user's default project location folder. This alternate location should be avoided if it is possible, as it presents more limitations regarding backup file name length.

COM Signature

From vsshell80.idl:

enum __VSPPROJECTUPGRADEVIAFACTORYFLAGS
{
     PUVFF_SXSBACKUP      = 0x00000020
    ,PUVFF_COPYBACKUP     = 0x00000040  
    ,PUVFF_BACKUPSUPPORTED = 0x00000080  
    ,PUVFF_USE_ALT_BACKUP_LOCATION = 0x00000100  
};
typedef DWORD VSPUVF_FLAGS;
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2015 Microsoft