cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
TanguyT
Level 8

Image is rename to Image1 but manifest still references Image for preview-image attribute. Cannot build solution

Hi,

I updated to latest version of PCF cli and now, when building project, the image I used for the control in attribute preview-image is renamed.

original XML

 <img path="imgs/logo.png" />
after building 
 <img path="imgs/logo1.png" />
 
but the build fails because preview-image attribute of control in manifest.xml is still expecting logo.png.
 
I don't understand why there is a rename of my image file and if so, why the preview-image attribute is not updated too.
 
Workaround => does not use preview-image.
 
Is this a known bug?
1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Power Apps Staff sgpchenchang
Power Apps Staff

Re: Image is rename to Image1 but manifest still references Image for preview-image attribute. Cannot build solution

@TanguyT , do you mind sharing your manifest.input.xml file with us?

 

Did you have the image path referenced in both "preview-image" attribute in <control> node and in <resources> node? If that's the case, you don't need to include that image in <resources> again. Please confirm. Thank you!

View solution in original post

3 REPLIES 3
Highlighted
Power Apps Staff sgpchenchang
Power Apps Staff

Re: Image is rename to Image1 but manifest still references Image for preview-image attribute. Cannot build solution

@TanguyT , do you mind sharing your manifest.input.xml file with us?

 

Did you have the image path referenced in both "preview-image" attribute in <control> node and in <resources> node? If that's the case, you don't need to include that image in <resources> again. Please confirm. Thank you!

View solution in original post

TanguyT
Level 8

Re: Image is rename to Image1 but manifest still references Image for preview-image attribute. Cannot build solution

Good to know! I will try it and let you know
TanguyT
Level 8

Re: Image is rename to Image1 but manifest still references Image for preview-image attribute. Cannot build solution

It worked! Thank you very much

Helpful resources

Announcements
thirdimage

Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

sixthImage

Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020

SecondImage

Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Kudoed Authors (Last 30 Days)
Users online (4,361)