---
title: Prepare Azure DevOps
description: "The new agent needs a solution to compile your packages. This means you have to create an empty solution in Visual Studio and set up your package as the one the project uses. Like this: ![Visual Studio Solution](http://ariste.info/wp-content/uploads/2020/04/2020-04-24-14_20_58.png) Visual Studio…"
url: "https://ariste.info/dynamics365almguide/prepare-azure-devops/"
updated: "2025-10-28"
category: "Legacy Guide / Azure hosted build for Dynamics 365 Finance & SCM"
---

# Prepare Azure DevOps

The new agent needs a solution to compile your packages. This means you have to create an empty solution in Visual Studio and set up your package as the one the project uses. Like this:

![Visual Studio Solution](http://ariste.info/wp-content/uploads/2020/04/2020-04-24-14_20_58.png)
Visual Studio Solution

If you have more than one package or model, you’ll need to create a project for each one within the solution.

We need to create another file called **packages.config** with the following content:

```
<?xml version="1.0" encoding="utf-8"?>
<packages>
  <package id="Microsoft.Dynamics.AX.Platform.DevALM.BuildXpp" version="7.0.7690.33" targetFramework="net40" />
  <package id="Microsoft.Dynamics.AX.Platform.CompilerPackage" version="7.0.7690.33" targetFramework="net40" />
  <package id="Microsoft.Dynamics.AX.ApplicationSuite.DevALM.BuildXpp" version="10.0.2345.35" targetFramework="net40" />
  <package id="Microsoft.Dynamics.AX.Application1.DevALM.BuildXpp" version="10.0.2345.35" targetFramework="net40" />
  <package id="Microsoft.Dynamics.AX.Application2.DevALM.BuildXpp" version="10.0.2345.35" targetFramework="net40" />
</packages>
```

The version tag will depend on when you read this, but the one above is correct for **PU67**. We’ll have to update this file whenever new versions of the NuGet are released.

And to finish this part, we have to add the **solution**, the **nuget.config**, and the **packages.config** to our source control. This is what I did:

![2020 04 24 14 29 01](http://ariste.info/wp-content/uploads/2020/04/2020-04-24-14_29_01.png)
Azure DevOps

You can see that I created a **Build** folder at the root of my DevOps project. That’s just a personal preference; I prefer having only code in my branches. Even the projects themselves are outside the branch, only code for branching and merging.

We place the files and the solution inside (or wherever you prefer), and that’s it.

#### Subscribe!

Receive an email when a new post is published
