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 is updating with pac push but not with Msbuild

(0) ShareShare
ReportReport
Posted on by 8

Hi Folks,

 

I was using the pac push command to push the PCF control to Dev environment and its working perfectly, But when i use the msbuild and manual importing the control is not updating even after increment the version in ControlManifest.Input.xml file.

 

  • My pcf control version was 2.0.1 and then i incremented the version to 2.0.2
  • Then crated a folder named solution inside the pcfproj folder and navigated to the folder
  • Then executed pac solution init -pn {prefix} -pp {prefix}
  • Then executed pac solution add-reference --path {path to the pcfproj folder}
  • Then executed msbuild /t:build /restore for the first time and then followed the msbuild after that

After theses steps the solution.zip file is generated and I checked the manifest file inside the zip folder and I could see the updated version number there. But after importing the control manually, it still loading the previous control, not the updated one. Also checked in the solution layers, there I could see that old manifest file.

 

Thanks for any insights.

 

Kind Regards

 

 

 

 

  • Diana Birkelbach Profile Picture
    3,072 Most Valuable Professional on at
    Re: PCF control is updating with pac push but not with Msbuild

    So glad to hear that @KP93 😀

  • KP93 Profile Picture
    8 on at
    Re: PCF control is updating with pac push but not with Msbuild

    @DianaBirkelbachit worked like a charm 😀 . Thank You.

  • Verified answer
    Diana Birkelbach Profile Picture
    3,072 Most Valuable Professional on at
    Re: PCF control is updating with pac push but not with Msbuild

    Hi @KP93 , 

    I've covered a few issues about pcf versioning in my blog: https://dianabirkelbach.wordpress.com/2020/12/23/all-about-pcf-versioning/

    It will help you check out which version is used in your environment, and special cases when you need to uninstall your PCF in order to upgrade. 

    Hope it helps!

    Kind regards,

    Diana

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 81 Most Valuable Professional

#2
mmbr1606 Profile Picture

mmbr1606 53 Super User 2025 Season 1

#3
stampcoin Profile Picture

stampcoin 48

Overall leaderboard