__VSPPROJECTUPGRADEVIAFACTORYFLAGS Enumeration

 

Specifies action to take with OnAfterUpgradeProject calls.

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_BACKUPSUPPORTED

Backup is supported.

PUVFF_COPYBACKUP

Xcopy style backup supported.

PUVFF_SXSBACKUP

Side-by-side backup supported.

PUVFF_USE_ALT_BACKUP_LOCATION

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.

From vsshell80.idl:

enum __VSPPROJECTUPGRADEVIAFACTORYFLAGS
{
     PUVFF_SXSBACKUP      = 0x00000020
    ,PUVFF_COPYBACKUP     = 0x00000040  
    ,PUVFF_BACKUPSUPPORTED = 0x00000080  
    ,PUVFF_USE_ALT_BACKUP_LOCATION = 0x00000100  
};
typedef DWORD VSPUVF_FLAGS;
Return to top
Show: