Partager via


__VSPPROJECTUPGRADEVIAFACTORYFLAGS Enum

Definition

Specifies action to take with OnAfterUpgradeProject(IVsHierarchy, UInt32, String, SYSTEMTIME, IVsUpgradeLogger) calls.

This enumeration supports a bitwise combination of its member values.

public enum class __VSPPROJECTUPGRADEVIAFACTORYFLAGS
public enum class __VSPPROJECTUPGRADEVIAFACTORYFLAGS
enum __VSPPROJECTUPGRADEVIAFACTORYFLAGS
[System.Flags]
public enum __VSPPROJECTUPGRADEVIAFACTORYFLAGS
[<System.Flags>]
type __VSPPROJECTUPGRADEVIAFACTORYFLAGS = 
Public Enum __VSPPROJECTUPGRADEVIAFACTORYFLAGS
Inheritance
__VSPPROJECTUPGRADEVIAFACTORYFLAGS
Attributes

Fields

Name Value Description
PUVFF_SXSBACKUP 32

Side-by-side backup supported.

PUVFF_COPYBACKUP 64

Xcopy style backup supported.

PUVFF_BACKUPSUPPORTED 128

Backup is supported.

PUVFF_USE_ALT_BACKUP_LOCATION 256

By 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.

Remarks

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;  

Applies to