21.11.2013, 00:12 | #1 |
Участник
|
kamalblogs: Dev Info: Beware not to use XML special symbols in attributes and break CIL compile
Источник: http://dynamicsaxlounge.com/2013/11/...k-cil-compile/
============== Attributes introduced with Dynamcis AX 2012 has deep penetration across different frameworks like Reporting, SysOperationFramework and AIF. Here is a information that you need to be keep in mind when using them. Avoid using XML special symbols For e.g. When creating parm methods for dialogs the labels come through the attribute. In the below example everything looks fine but the problem surfaces during CIL generation. [DataMemberAttribute('Internal & Cost')]public boolean parmInternalCost(boolean _internalCost = internalCost){ internalCost = _internalCost; return internalCost;}During CIL generation XML files are generated. The special symbols can break the xml and consequently break the CIL compile. So make sure that you avoid using them in your attributes. Info: This post is based on a information shared my colleague. I would like to thank him for this information and let the readers know that i have no direct experience of this problem. Sharpen your SSRS skills. Buy the Dynamics AX reporting cookbook Keep yourself updated with Dynamics Ax – Check the weekly Must read section here
The post Dev Info: Beware not to use XML special symbols in attributes and break CIL compile appeared first on Dynamics Ax Lounge. Источник: http://dynamicsaxlounge.com/2013/11/...k-cil-compile/
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору. |
|