Project Export and Import
Project Export and Import
Today I want to show how you can export and import projects. It’s very easy and similar to what can be done in AX 2012.
Export
If you want to export a project of course first you need one – literally – in Solution Explorer. Right-click it and choose Export Project YourProjectName.
In the Select Project Package File Name dialog you need to provide the path and name of the resulting project file. The file extension is .axpp.
Import
Importing a project is super-simple, too. In Visual Studio, click on Dynamics AX > Import Project… and pick the axpp file you want to import (File name). Also you need to define the Project file location. There’s two choices in the Settings area. If you check Overwrite Elementsyou won’t get prompted about overwrites of AX metadata or project files. Open project inlet’s you decide if you want to use the Current solution, open the project in a New solutionor do not put it in any solution (None). In the Details area you can expand the project and see the elements included. They’re selected by default but you can unselect node-wise to avoid the import of elements. This is similar to AX 2012, too.
It’s important to note that the project doesn’t only come with the objects included but also carries the information about the layer and the package it belongs to. Especially the package part is interesting because you might import a project that was given to you by someone else – belonging to a package your environment doesn’t know at all. Good news is Visual Studio handles this and creates the missing package automatically and with correct references and everything!
Comments
Post a Comment