Images in Toast
Opened this issue · 0 comments
NPatch commented
I've been trying to load an image (be it hero or inline) from my project files like so:
builder.AddInlineImage("file://myfile.jpg");
which doesn't work.
Documentation says that unpackaged app cannot use https and it should use appdata, which means you have to add code like this repo has to move the images to AppData (be it local or roaming) in order for "ms-appdata://" to work.
Is there no way to use static images from the project? They are to be eventually packaged into the app anyway. Does one need to use AppData while developing and switch to packaged resources when releasing?
What's the best practice here?