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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / PCF control is updatin...
Power Apps
Unanswered

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

 

 

 

 

I have the same question (0)
  • Verified answer
    Diana Birkelbach Profile Picture
    3,072 Most Valuable Professional on at

    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

  • KP93 Profile Picture
    8 on at

    @DianaBirkelbachit worked like a charm 😀 . Thank You.

  • Diana Birkelbach Profile Picture
    3,072 Most Valuable Professional on at

    So glad to hear that @KP93 😀

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard