cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
TanguyT Advocate V
Advocate V

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
Power Apps
Power Apps

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
Power Apps
Power Apps

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 Advocate V
Advocate V

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
Highlighted
TanguyT Advocate V
Advocate V

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
MBAS Gallery 2020

MBAS Gallery 2020

Watch Microsoft Business Applications Summit sessions on-demand.

firstImage

New Ranks and Rank Icons released on April 21!

The time has come: We are finally able to share more details on the brand-new ranks coming to the Power Apps Community!

Power Platform 2020 release wave 1 plan

Power Platform 2020 release wave 1 plan

Features releasing from April 2020 through September 2020

Users online (6,973)