Create deployable packages of models
Dynamics 365 for Finance and Operations is now being licensed as Dynamics 365 Finance and Dynamics 365 Supply Chain Management. For more information about these licensing changes, see Dynamics 365 Licensing Update.
An AOT package is a deployment and compilation unit of one or more models that can be applied to an environment. It includes model metadata, binaries, reports and other associated resources. One or more AOT packages can be packaged into a deployable package, which is the vehicle used for deployment of code (and customizations) on demo, sandbox and production environments. This article guides you through the process of creating and applying a deployable package.
Overview of the process
In order to deploy your code and customizations to a runtime environment (Demo, Sandbox or Production), you must create deployable packages of your solution or implementation. Deployable packages can be created using the Visual Studio dev tools, or by the build automation process that are available on build environments. These deployable packages are referred to as Application Deployable Packages or AOT Deployable Packages. The image below is an overview of the process. Once a deployable package is created, it must be uploaded to the LCS project's asset library. An administrator can then go to the LCS environment page and apply the package to a runtime environment using the Maintain > Apply updates tool.
Application Deployable Packages do not contain source code.
It is always recommended to use a build environment to create deployable packages that are intended to go to production.
Create a deployable package
We recommend using a build environment to create deployable packages. You can also create a deployable package on a development environment.
On a development environment, after you have completed development and testing, follow these steps to create a deployable package in Visual Studio.
In Microsoft Visual Studio, select Dynamics 365 > Deploy > Create Deployment Package.
Select the packages that contain your models, and then select a location in which to create the deployable package.
After a deployable package is created, sign in to Microsoft Dynamics Lifecycle Services (LCS), and then, in your LCS project, click the Asset Library tile.
Upload the deployable package that you created earlier.
Apply a deployable package
To apply a deployable package to an environment, see the article Apply updates to cloud environments.
Remove a deployable package
To uninstall or remove a deployable package from an environment, see the article Uninstall a package.
Trwa ładowanie opinii...