First create the .net dll then strong name it. See .Net strong name to see how to do this.
On each AOS I have installed the gacutil from 2005, if you are using 2008 you may have to install the gacutil from that version.
It is located on your box under "C:\Program Files\Microsoft Visual Studio 8\SDK\v2.0\Bin" for 2005, not sure if there is a 2008 version
Once you have a strong named dll, and the gacutil on the server then the following under cmd prompt should install the dll on the server
cd "C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727"
gacutil /i "C:\Program Files\Microsoft Dynamics AX\40\Server\PTN_AXDB_Live\Bin\Paypal.dll"
Once installed add reference in AOT
May need to restart the AOS
Code to it..
in code need to set class to runon server (in its own class) so each client does not need to install it.
No comments:
Post a Comment