Quantcast
Channel: Xojo Programming Forum - Latest topics
Viewing all articles
Browse latest Browse all 3804

Xojo Doesn't Update Paths to Dragged Image Resources

$
0
0

Xojo 2019r2.1 MacOS Ventura

I have an app with a bunch of image files dragged into the IDE. Xojo strips out all spaces within the image filenames and does not display extensions. The extensions are retained, however, in the Resources folder.

Originally the images were png files because I was lazy. Now I want to change them all to jpgs to reduce the app size. So I converted my pngs to jpg (keeping the filenames the same so as not to mess up other stuff), deleted all the image files from the IDE, and dragged my jpgs into the IDE.

Somewhere, however, Xojo seems to have the paths to the pngs cached, because when I build the app, all the pngs are in Resources, and my jpgs are not. I’ve tried:

  • Deleting the files from the project, running it, then re-dragging them in
  • Closing the project and reopening it
  • Moving the pngs to a different directory
  • Quitting and relaunching Xojo
  • Moving the pngs to the Trash(!)
  • Clicking the Clear Caches button in Settings>Building
  • Deleting the files from the project, then clearing the Xojo cache, then dragging them back in

In all cases, the pngs end up in Resources instead of the new jpgs.

Is there way to force a refresh other than renaming all my files or adding them via a build step instead of dragging into the IDE?

4 posts - 3 participants

Read full topic


Viewing all articles
Browse latest Browse all 3804

Trending Articles