cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted

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

Highlighted

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

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

New Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

Experience what’s next for Power Apps

Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.

Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Users online (8,029)