" in assembly "Dynamics.Ax.application. I see the following error while compiling...">

Duplicate type named "Dynamics.Ax.application. <My Class Name>" in assembly "Dynamics.Ax.application.

I see the following error while compiling CIL in Dynamics 2012 ax -

A duplicate type named "Dynamics.Ax.application." in assembly "Dynamics.Ax.application, version = 6.0.947.280, culture ...

I tried

  • Remove class from AOT
  • Delete XppIL directory (c: \ Program Files \ Microsoft Dynamics AX \ 60 \ Server \ InstanceName \ bin)
  • Restart AOS
  • Starting CIL Compilation

What else can I try?

+3


source to share


2 answers


The following should fix the problem:



  • Complete AX compiler
  • Stop AOS
  • Truncate SysXPPAssembly table in SQL (table used to host assemblies and share between multiple AOS instances)
  • Remove the DLL and netmodule files in the AOS bin \ xppIL directory
  • Restart AOS
  • Complete CIL generation
+8


source


This is what forme works (this time).



  • Stop AOS
  • Delete / Move XppIL directory (c: \ Program Files \ Microsoft Dynamics AX \ 60 \ Server \ InstanceName \ bin)
  • Restart AOS
  • Run full CIL compiler
  • Infolog displays a list of errors returned by Full CIL.
  • Naturally compile broken classes / projects, fix the code I need.
  • Do another full CIL
0


source







All Articles