Показать сообщение отдельно
Старый 06.11.2014, 09:34   #1  
Pandasama is offline
Pandasama
Участник
 
449 / 133 (5) +++++
Регистрация: 11.08.2014
Адрес: Барнаул
Ошибка при создании CIL: signature is incorrect
Приветствую.

При запуске полной генерации CIL получаю следующую ошибку (после которой компиляция останавливается):
X++:
Finished pass 3 at 11/6/2014 12:30:05 PM
Error when building AS400DatabaseTransfer System.TypeLoadException: The signature is incorrect.
   at System.Reflection.Emit.TypeBuilder.TermCreateClass(RuntimeModule module, Int32 tk, ObjectHandleOnStack type)
   at System.Reflection.Emit.TypeBuilder.CreateTypeNoLock()
   at System.Reflection.Emit.TypeBuilder.CreateType()
   at Microsoft.Dynamics.Ax.Xpp.ILGenerator.createParentType(TypeBuilder typeBuilder)
   at Microsoft.Dynamics.Ax.Xpp.ILGenerator.createTypes()
Error when building AS400DataQueueAttributes System.TypeLoadException: The signature is incorrect.
   at System.Reflection.Emit.TypeBuilder.TermCreateClass(RuntimeModule module, Int32 tk, ObjectHandleOnStack type)
   at System.Reflection.Emit.TypeBuilder.CreateTypeNoLock()
   at System.Reflection.Emit.TypeBuilder.CreateType()
   at Microsoft.Dynamics.Ax.Xpp.ILGenerator.createParentType(TypeBuilder typeBuilder)
   at Microsoft.Dynamics.Ax.Xpp.ILGenerator.createTypes()
Finished creating types at 11/6/2014 12:30:37 PM
The CIL generator found errors and could not save the new assembly.
Что эта ошибка означает и как с ней бороться?
Глобальная компиляция, компиляция указанных классов - все проходит без ошибок.

Перед этим, на 3м проходе была ещё одна ошибка, но тем не менее 3й проход был успешно завершен
X++:
Exception was thrown because the .NET instance method Microsoft.Dynamics.Framework.Portal.Deployment.EPWebModule.DeployWebModuleFromAOT was not found during CIL generation in class sysEPWebPageDefinition.deployModuleOnServer. Generating the code to make a reflection call during run time.
Information: Either the .NET instance method Microsoft.Dynamics.Framework.Portal.Deployment.EPWebModule.DeployWebModuleFromAOT or its parameters could not be resolved during CIL generation, in class sysEPWebPageDefinition.deployModuleOnServer. Generating the code to make a reflection call during run time.
Exception was thrown because the .NET instance method Microsoft.Dynamics.Framework.Portal.Deployment.EPWebPartPage.ImportWebPartPageFromAOT was not found during CIL generation in class sysEPWebPageDefinition.deployPageOnServer. Generating the code to make a reflection call during run time.
Information: Either the .NET instance method Microsoft.Dynamics.Framework.Portal.Deployment.EPWebPartPage.ImportWebPartPageFromAOT or its parameters could not be resolved during CIL generation, in class sysEPWebPageDefinition.deployPageOnServer. Generating the code to make a reflection call during run time.