To compile the EABs into a .NET module, use a CSC command similar to the following:
csc /target:module /out:eab.netmodule "/lib:%GENxx%Gen\.net\bin" /reference:CA.Gen.abrt.dll,CA.Gen.csu.dll,CA.Gen.exits.dll,CA.Gen.vwrt.dll,CA.Gen.odc.dll moduleinfo.cs EAB1*.cs EAB2*.cs EAB3*.cs …
where:
/target:module specifies that the result of the compilation is a .NET module (.netmodule)
/out:eab.netmodule specifies the name of the output module (EAB.NETMODULE)
"/lib:%GENxx%Gen\.net\bin" specifies the directory where the assemblies to be referenced during the compilation reside.
Note: The surrounding quote marks are required as the IEFH environment variable typically contains spaces.
/reference:CA.Gen specifies a comma separated list of assemblies to be referenced during the compilation.
moduleinfo.cs is the file containing the CLS-compliant module attribute.
EAB1*.cs EAB2*.cs EAB3*.cs … specifies a space separated list of C# source files to be compiled. The asterisk is used to cause the EAB file plus its import and export view class files to be compiled as a single unit.
Note: xx refers to the current release of CA Gen. For the current release number, see the Release Notes.
|
Copyright © 2014 CA.
All rights reserved.
|
|