Previous Topic Next topic Print topic


ILCLR

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

Using 2.0 allows the application to be deployed to an environment where only CLR 2.0 is present.

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

Syntax:

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

Parameters:

number
The version of CLR that can support the compiled program.
2 Compiles the program for CLR 2.0. Use ILCRL(2) for .NET Framework 3.5 or earlier.
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
Previous Topic Next topic Print topic