Aracılığıyla paylaş


/target

Specifies output file format.

The /target compiler option can be specified in one of three forms:

Remarks

/target causes a .NET Framework assembly manifest to be placed in an output file.

If you create an assembly, you can indicate that all or part of your code is CLS compliant with the CLSCompliantAttribute Class attribute.

import System;
[assembly:System.CLSCompliant(true)]   // specify assembly compliance

System.CLSCompliant(true) class TestClass   // specify compliance for element
{
   var i: int;
}

See Also

Other Resources

JScript Compiler Options