The Azure.DevOps.Extension.Xrm.Build extension provides tasks for use in Azure DevOps build pipelines. These tasks enable a Continuous Integration pipeline to be created for Dynamics 365. For tasks for a release pipeline, please see Azure.DevOps.Extension.Xrm.Release.
Tasks:
- Dynamics 365: Combine Static and Templated PackageDeployer Artefacts
- Dynamics 365: Update solution.xml Version to Build Number
- Dynamics 365: Update Unmanaged Solution Version
Navigate to and install the extension through the Visual Studio Marketplace for your Azure DevOps instance.
After installing, navigate to a new or existing Azure DevOps build pipeline, from there the following tasks should be available to be added and configured.
Below is a summary of each task, click on the task name to view more information on the wiki.
Combines the static files provided by Microsoft with templated files to generate a releasable Package Deployer artefact. PackageDeployer provides a repeatable way of releasing Dynamics 365 solutions and release artefacts, that is provided through the Dynamics 365 SDK.
Task that can update the version number stored in the solution.xml file for extracted Dynamics solutions.
Task that connects to a Dynamics 365 instance and updates the Version Number of a Solution.
Source Code will be made available shortly. All contributions will be appreciated.
To contact us, please email nuget.uk@capgemini.com.
Capgemini UK Microsoft Team
These tasks use the excellent Microsoft.Xrm.Data.Powershell, by seanmcne.