Showing results for 
Search instead for 
Did you mean: 
Helper II
Helper II

Code component not updated with solution (The code component has been added in an App solution)



Our team is trying to use the Solution for version control of different environments.


In the App solution, it includes a custom control which is a code component.

(*The code component is not a solution itself, it has been added into the App solution)


(*Let's say we have environment env-1, and environment env-2)

But while we modified the code component in env-1 and exported it to env-2, everything in the solution in env-2 will be updated but not the Customer control, the Customer control will still be the old version.


I know it might work if we totally remove the customer control in env-2 first, then import the solution, but is there any way I don't need to go through this process every time that I would like to import a new version?


Thanks in advance!

Advocate I
Advocate I

Hey @HCLin,


When building the PCF control, are you ensuring that the version in the controls manifest is updated?


While the solution version might be increased when exporting your app solution from env-1 to env-2, your PCF control version will not. Changes will only be visible in env-2 if a newer control is imported.


See the below example for where the version is located in the manifest in source control. The version is on the 'control' element of the manifest XML file.


Edit: I just remembered that I wrote some PowerShell to increment the control version in the manifest. See step 6 of Adding build tasks in my post here.


Hope this help! 

Super User
Super User

Hi @HCLin , 

There are a few aspects which can play a role. Besides manifest incrementation, as @ryanspain mentioned,there might be important if you increment the major part of the version. In that case you would need to increment also the solution version. You can also have a look to the solution layers, because you might see a managed and an unmanaged version of the PCF in your environment at the same time. Please have a look to my blog, when I talk about this problems:


Hope this helps!


Kind regards,



PS: Regarding PCFs deployment through solutions generated in an environment, you need to take care the use a minimized version of the control. But that's another question.



Helpful resources

PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group


Demo Extravaganza is Back!

We are excited to announce that Demo Extravaganza for 2021 has started!

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Power Apps June 2021

June Power Apps Community Call

Don't miss the call this month on June 16th - 8a PDT

Users online (18,030)