AXForum  
Вернуться   AXForum > Microsoft Dynamics AX > DAX Blogs
All
Забыли пароль?
Зарегистрироваться Правила Справка Пользователи Сообщения за день Поиск Все разделы прочитаны

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 21.11.2013, 00:12   #1  
Blog bot is offline
Blog bot
Участник
 
25,475 / 846 (79) +++++++
Регистрация: 28.10.2006
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, напишите личное сообщение администратору.
 

Опции темы Поиск в этой теме
Поиск в этой теме:

Расширенный поиск
Опции просмотра

Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.
Быстрый переход

Рейтинг@Mail.ru
Часовой пояс GMT +3, время: 09:52.
Powered by vBulletin® v3.8.5. Перевод: zCarot
Контактная информация, Реклама.