Hello,
Welcome to our Microsoft Q&A platform!
1.To display the images in Xamarin.Forms, try placing the image file in the resource folder of the each platform project. Or if you place the files in the shared project, please set the Build Action to EmbeddedResource.
To load images in Xamarin.Forms, you could check this document:
https://learn.microsoft.com/en-us/xamarin/xamarin-forms/user-interface/images?tabs=windows#embedded-images
2.For the file which is set Build Action to Content, the VS provides to Application.GetContentStream method to access the file. But it is only supported in ASP.NET, it doesn't work in the .Net Standard referenced by Xamarin.Forms.
Tutorial:
https://learn.microsoft.com/en-us/visualstudio/ide/build-actions?view=vs-2019#build-action-values
Best Regards,
Jarvan Zhang
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.