web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Is there a way to set ...
Power Apps
Answered

Is there a way to set the control version when using Azure DevOps build pipeline?

(1) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi,

 

We are using a Azure DevOps build pipeline to build the control and generate the solution file. The ControlManifest.Input.xml has a version attribute for the control. Is there a way to auto update this? 

I would like to do the following:

<control namespace="MyComponent" constructor="MyComponent" version="1.0.$(BuildID)" display-name-key="Mycomponent" description-key="My Fancy Component" control-type="standard">

 

And have $(BuildID) to re placed with the current buildid. 


Any thoughts on this?

 

 

I have the same question (0)
  • Verified answer
    Mikkelsen2000 Profile Picture
    Microsoft Employee on at

    Hi Pieter,

     

    One way to do this is via an msbuild target in your .cdfproj file with an XmlPoke msbuild task: https://docs.microsoft.com/en-us/visualstudio/msbuild/xmlpoke-task?view=vs-2019 and pass in $(BuildId) when you build the solution as part of the pipeline

     

    There’s also a builtin VSTS task “File Transform” https://docs.microsoft.com/en-us/azure/devops/pipelines/tasks/utility/file-transform?view=azure-devops

    Happy to setup a call to talk/walk through this with you if you'd like?

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    We made it work with XML Poke. Didn't see an easy way to do it with the file transform.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    thanks @HansG Hans for testing the solution provided by @Mikkelsen2000 . It works nicely.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 1,045

#2
Valantis Profile Picture

Valantis 675

#3
11manish Profile Picture

11manish 592

Last 30 days Overall leaderboard