question

65010773 avatar image
0 Votes"
65010773 asked ThiruppathiK-0859 published

Error App manifest references image

Hello
At the beginning i succeeded to create a package for publishing the app.
Now I change the image in the source visual asset of the packageappx.manifest but i get this error

App manifest references the square 310x310 logo image 'Assets\LargeTile.scale-400.png' which is larger than the maximum image file size. It must be no larger than 204800 bytes.

But when i restored the previous image that was valid I still get the same error and i don't know which image the compiler means
square 310x310 ,i have not such image in the asset folder

Thanks

windows-uwp
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

A screenshot of your Asset folder and the definition of the uap:VisualElements element in your Package.appxmanifest would help to understand which is the problem

1 Vote 1 ·

You should re-generate assets to fix that

0 Votes 0 ·
Tyoun-7653 avatar image
0 Votes"
Tyoun-7653 answered

Regenerating assets does not fix the issue. I've been struggling with this for two days now. I've cleaned the solutions, resized images, checked the app manifest script at the line causing the error, and regenerated the assets several times. Still looking for a fix.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

ThiruppathiK-0859 avatar image
0 Votes"
ThiruppathiK-0859 answered ThiruppathiK-0859 published

I resized the image and now it worked. The image size was 402 kb when I got the error, then I resized the image to lower file size and it worked.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.