---
title: How does it work?
description: "There’s really no magic in this. We move from a self-hosted agent in the build VM to a [Microsoft-hosted agent.](https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/hosted?WT.mc_id=DOP-MVP-5003976&view=azure-devops) The Azure hosted build relies on [nuget packages](https://docs.microsoft.com/en-us/nuget/what-is-nuget?WT.mc_id=DOP-MVP-5003976) to compile our X++ code. The contents of the PackagesLocalDirectory folder, platform…"
url: "https://ariste.info/dynamics365almguide/how-does-it-work/"
updated: "2024-08-25"
category: "Legacy Guide / Azure hosted build for Dynamics 365 Finance & SCM"
---

# How does it work?

There’s really no magic in this. We move from a self-hosted agent in the build VM to a [Microsoft-hosted agent.](https://docs.microsoft.com/en-us/azure/devops/pipelines/agents/hosted?WT.mc_id=DOP-MVP-5003976&view=azure-devops)

The Azure hosted build relies on [nuget packages](https://docs.microsoft.com/en-us/nuget/what-is-nuget?WT.mc_id=DOP-MVP-5003976) to compile our X++ code. The contents of the PackagesLocalDirectory folder, platform and the compiler tools have basically been put into nugets and what we have in the build VM is now on 3 nugets.

When the build runs it downloads & installs the nugets and uses them to compile our code on the Azure hosted build along the standard packages.

#### Subscribe!

Receive an email when a new post is published
