Hi,
Is there anyone know what is the problem and how to compile the class to CIL successfully? Btw, where is the CIL stored localtion?
I created a class which can submit for batch processing. When compile in Ax no error. But unable to compile to CIL. Then can't run the class job using Batch processing. Always prompting error with no solutions.
Below are the error messages when going through the process from compiling to CIL and run Batch job for the class.
CIL compilation error message:-
\xppIL ERR:351
"The CIL generator found errors and could not save the new assembly."
Batch job process error messages:-
Unable to construct and object from the class XXXXX in the batch framework. Make sure that the X++ has be compiled to Microsoft .Net Framework..........
Microsoft.Dynamics.Ax.Xpp.ErrorException of type 'Microsoft.Dynamics.Ax.Xpp.ErrorException' was thrown.......
Thanks in advance.