When using .NET Dlls in Dynamics AX 2012 the normal way to include them is to add the DLL files as reference to the
References node in the AOT.
But how to deploy a .NET assembly developed by yourself?
The best way to develop a .NET assembly for AX is to add the ClassLibrary project to the AOT.
This has the advantage to be able to add it to the version control but also to be able to deploy it easily.
Just open the project in Visual Studio (if not already open) and set the properties of the project for deployment destinations:
Then right-click the project itself and
The assembly then should be available on the selected targets!
Important: Restart your client after the deployment if the AX client was open!
Subscribe to robsCode
Get the latest posts delivered right to your inbox