How to create DLL in Visual Studio

How to create DLL in Visual Studio and used that dll in Dynamics Ax 2009

Creating DLL in visual studio is much more easy…

just write your coding in studio and compile the code in release mode

and checkout the location of the project you can find a dll there…

using the dll in Dynamics AX 2009:

  1. register the DLL in global assemble cache (using GACutil tool inbuilt in visual studio)

2.in reference group right click and add reference,in that add reference form you can find your dll (registered in GAC)

  1. select ok…then fine declare the dll name and create object…good to go…thats it…

4.any error get back to me…

Make sure you create a class library project in visual studio.