
Announcements
hi all,
i runned CIL but i took 1 error and 66 warnings
error question;
i am compiling class which is error to CIL but i dont take any error when compile concerning class, first question is this.
warning question;
Warnings are from product model, you know these are class to AOT. I m compiling class which is warning to CIL, i take several errors about not declarated variable.
these are not in product builder (PBATableVariable) but these are in pbareturn method which in concerning product builder class and not declarated to "classdeclaration" because not in "PBATableVariable" .
Second question, Are these CIL warnings stopped to successfull assembly?
Warning Example;
Classes
PBAex_401BRZ021HRKK_150010b72
Code67
Warning: CIL could not be generated for X++ method PBAex_401BRZ021HRKK_150010b72.Code67 due to X++ compile errors. This method throws an exception if run as CIL.
when i compile same class, i take below errors
Variable Malzeme_Kolt_Secimi has not been declared.
Variable Kum2_Renk has not been declared.
note: error and warnings classes not same, these ara different cases
*This post is locked for comments
I have the same question (0)You should fix all x++ compile errors first before attempting to generate CIL. Don't waste time on the CIL errors or warnings before you have fixed your code and compiled it succesfully.
As long as CIL generation is unsuccesful, you won't get a new assembly and your server side code is using an old dll instead.