Quantcast
Channel: Martin Dráb's Activities
Viewing all articles
Browse latest Browse all 17532

How to source control AX model code? (Local Git repo)

$
0
0

Hello, we primarily develop custom AX classes and objects, and I have model with many new classes and extensions I need to version control. 

I want to control within the Visual Studio 2017 environment we build X++ code in, preferably with a local git repo. I understand the solution file is only linking to objects from the application explorer, so for each model or model's subproject we will have a solution file pointing to all the relevant AX objects. But the AX objects themselves are not accessible to the solution (correct?).

For master solution files how can I add the AX object dealing with X++ code to my source control?

I can find what seems to be the up-to-date code on a location on the dev VM such as K:\AosService\PackagesLocalDirectory\{model}\{model}\AxClass, but creating a solution file in that folder and adding the AxClass contents yields an error below:

This was just a guess, I'm not sure directly versioning the contents of \AosService\PackagesLocalDirectory is the correct move, but source controlling any file that can reflect X++ codechange is the goal. 

Thanks


Viewing all articles
Browse latest Browse all 17532

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>