Reputation: 45295
Once a week I get the new version of .net assembly which I need to deploy to our Axapta 2012 installation. I don't want to copy this dll to axapta client folder on each computer. So I am searching the way to deploy it to AOS and hope it will deploy on each client automatically.
I have found many solution (this is one of them), but all of them works only if I have the source code of this assembly. I don't have. And I can not to 'Add VS project to AOT' and deploy it using VS add-ins.
Is there any way to deploy .net assembly (as compiled DLL) from AOS to each client ?
Upvotes: 0
Views: 2794
Reputation: 1151
If you cannot do it using the "Add VS projection to AOT" method, you can use the SysFileDeployment
class. This is demonstrated in Joris DG his blogpost here.
On msdn the description of the SysFileDeployment
class is as follows:
The SysFileDeployment class is used for deploying files from the server to the clients.
On msdn it is also explained how you need to do this.Basically all you need to do is extend this class and point to the files you need to deploy (in your case a dll). You will also have to change the build number of you solution to trigger the deployment.
You can also deploy dll's by adding them to the GAC, as demonstrated here: Axilicious: AX2012 DLL Deployment and how AX binds DLL’s at runtime
To summarize main differences are:
Personally I would try the SysFileDeployment method as it's the standard method MS provide. If you have trouble, you might receive support.
Upvotes: 3