Reputation: 361
I have a built a class library in visual studio 2010 which I want to add to my AOT and then use it to build my own service. I added the library to the AOT by right clicking it and pressing Add ClassLibray1 to AOT. I can see the library in the AOT (Visual Studio Project -> C Sharp Projects). But when a add a new class to the AOT and try to use this library, the intellisense does not show it. The dll is present is in the Client->Bin folder. I have tried restarting the AOS and building the dll again. How do I proceed?
Upvotes: 2
Views: 4274
Reputation: 84
Working with assemblies in AX 2012 has changed comparing to AX 2009. One of the key points is - now there is no need to copy assemblies to client/server "bin" folder, thus (just an assumption) if you copied an assembly manually - delete it from "bin" folder(-s).
Please read
Usually you have to do following steps (to make VS project's class(-s) available in X++ editor):
Now you can consume your assembly from AX.
Upvotes: 2