cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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
Highlighted
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
Highlighted
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

Highlighted
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
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
secondImage

Demo-Extravaganza 2020

Check out these cool Power Apps & vote on your favorite!

secondImage

Robotic Process Automation

Let's talk about the solution provided by Microsoft for Robotic Process Automation (RPA)

secondImage

Community Highlights

Check out whats happening in Power Apps

secondImage

Community User Group Member Badges

FIll out a quick form to claim your community user group member badge today!

Users online (9,171)