How it works...

To see what we just did, we can simply look at the results. Use Windows Explorer to navigate to the local packages folder, which is usually C:\AOSService\PackagesLocalDirectory. There, you will see the following structure for our example package, that is, ConVehicleManagement:

The root folder is the Package and contains a subfolder for the model, which has the same name. All of the code is under the model folder in a separate folder for each type. The descriptor folder contains an XML definition file. XppMetaData is a system-managed folder for the Xpp metadata for all the models in the package. This holds compiler metadata information about each element, not the actual source code. This includes the methods in a class, the type of method, and the parameters.

We would never normally change anything here, but there are exceptions:

The former point can be prevented by nominating a person to create packages and models.

If you look in the Source Control Explorer in Visual Studio, you will only see that the projects folder has been added. This is correct. The folders under the Metadata folder will only appear when we create new elements.