Since version 10.0.18 we’ll be getting 4 NuGet packages instead of 3 because of the Microsoft.Dynamics.AX.Application.DevALM.BuildXpp NuGet size is getting near or over the max size which is 500MB and will come as 2 NuGet packages from now on.
You can read about this in the docs.
There just 2 small changes we need to do to the pipeline if we’re already using it, one to the packages.config file and another one to the pipeline.
packages.config #
The packages.config file will have an additional line for the Application Suite NuGet.
<?xml version=”1.0″ encoding=”utf-8″?><packages> <package id=”Microsoft.Dynamics.AX.Platform.DevALM.BuildXpp” version=”7.0.5968.16973″ targetFramework=”net40″ /> <package id=”Microsoft.Dynamics.AX.Application.DevALM.BuildXpp” version=”10.0.793.16″ targetFramework=”net40″ /> <package id=”Microsoft.Dynamics.AX.ApplicationSuite.DevALM.BuildXpp” version=”10.0.793.16″ targetFramework=”net40″ /> <package id=”Microsoft.Dynamics.AX.Platform.CompilerPackage” version=”7.0.5968.16973″ targetFramework=”net40″ /></packages> |
Pipeline #
We need to add a new variable to the pipeline variables called AppSuitePackage with the value Microsoft.Dynamics.AX.ApplicationSuite.DevALM.BuildXpp.
And then use it in the build step and change it to:
/p:BuildTasksDirectory=”$(NugetsPath)\$(ToolsPackage)\DevAlm” /p:MetadataDirectory=”$(MetadataPath)” /p:Framewor