Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Power Apps Pro Dev & ISV
Answered

PCF control solution build in DevOps

(0) ShareShare
ReportReport
Posted on by 15

Hi,

 

I'm trying to figure out the correct way to build a control and then generate a solution from the build in DevOps. So far I am able to build the control but I'm having problems with initializing the solution and generating the the zip. Do I need to include PowerApps CLI in my build process for it to work?

 

Regards,

Thordur

 

  • ryanspain Profile Picture
    100 on at
    Re: PCF control solution build in DevOps

    @thordurg, a little late to the post, but I wrote a guide on building a deploying a PCF control using Azure DevOps pipelines.

    https://ryanspain.net/posts/pcf-azure-devops-pipelines/

    It's super easy seeing as the cdsproj file can be targetted by MSBuild.

    I hope it helps in what you were trying to do!

  • thg-arango Profile Picture
    15 on at
    Re: PCF control solution build in DevOps

    I was trying to create the solution/cdsproj in DevOps which didn't work out. So, I initialized the solution and checked it in and the build went on smooth from there. Thanks, @rajyraman and @ScottDurow  for your input.

  • Verified answer
    RajYRaman Profile Picture
    270 on at
    Re: PCF control solution build in DevOps

    @thordurg- Are you using Azure DevOps? To produce the solution artifacts, you are simply using MSBuild to build the cdsproj. To get the cdproj and the associated files used to build the PCF Solution, you would use the "pac solution init" and "pac solution add-reference" commands. Once these files are in the repo, you would run MSBuild task in the build pipeline to produce the artifacts. You don't need Power Apps CLI to build the artifacts, provided you have the solution files committed on your repo.

  • ScottDurow Profile Picture
    1,039 on at
    Re: PCF control solution build in DevOps

    Take a look at this example of using github actions https://github.com/rajyraman/pcf-actions-starter

    What I do is to use npm to build the bundle.js and then simply copy the output into the solution source files that then are packaged using the solution packager.

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Apps - Power Apps Pro Dev & ISV

#1
WarrenBelz Profile Picture

WarrenBelz 85 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 57 Super User 2025 Season 1

#3
mmbr1606 Profile Picture

mmbr1606 55 Super User 2025 Season 1

Overall leaderboard