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

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

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
Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

August 2020 Community Challenge: Can You Solve These?

August 2020 Community Challenge: Can You Solve These?

We're excited to announce our first cross-community 'Can You Solve These?' challenge!

secondImage

Return to Workplace

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

secondImage

Super Users Coming in August

We are excited for the next Super User season.

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Users online (6,094)