ILCLR

Allows a managed program to be compiled for Microsoft's Common Language Runtime (CLR) 4.0.

Restriction: This directive is supported for .NET COBOL only.

Syntax:

>>-------ILCLR-"number"-----><

Parameters:

number
The version of CLR that can support the compiled program.
4 Compiles the program for CLR 4.0. Use ILCLR(4) for .NET Framework 4.

Properties:

Default: 4
$SET INITIAL
IDE equivalent: Click Project > Properties > Application > Target Framework

Comments:

Support for ILCLR"2" (.NET Framework versions 3.0 and 3.5) is now unsupported; it had been deprecated for some time.