Share via


TargetFramework Constants

 

Constants for .NET Framework targets for upgrading and retargeting.

Syntax

// .NET Framework 2.0  
#define NETTARGET_20 1  
  
// .NET Framework 3.0  
#define NETTARGET_30 2  
  
// .NET Framework 3.5  
#define NETTARGET_35 3  
  
// .NET Framework 3.5 Client Profile  
#define NETTARGET_35CLIENT 4  
  
// .NET Framework 4.0  
#define NETTARGET_40 5  
  
// .NET Framework 4.0 Client Profile  
#define NETTARGET_40CLIENT 6  
  
// .NET Framework 4.5  
#define NETTARGET_45 7  
  

Remarks

Constants are defined in the file vsta.h.

Requirements

DLL VstaCore.dll
Library VstaCore.lib
Header Vsta.h

See Also

Functions (VSTA)