Bug 53854 - Image is not rendered in view, when deploying in Forms.UWP in release mode
Summary: Image is not rendered in view, when deploying in Forms.UWP in release mode
Status: RESOLVED ANSWERED
Alias: None
Product: Forms
Classification: Xamarin
Component: Forms ()
Version: 2.3.3
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2017-03-23 13:03 UTC by Suhasini
Modified: 2017-06-27 12:21 UTC (History)
7 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:


Attachments
Sample in which the issue is reproduced (259.88 KB, application/x-zip-compressed)
2017-03-23 13:03 UTC, Suhasini
Details


Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED ANSWERED

Description Suhasini 2017-03-23 13:03:41 UTC
Created attachment 20749 [details]
Sample in which the issue is reproduced

Image is not rendered in view, when deploying in Forms.UWP in release mode

I have attached a sample, please refer it. Run the sample in Forms.UWP (debug mode), the image will be rendered in view. Run the sample in Forms.UWP (release mode), the image will not be rendered in view.

Note: The image is rendered in view in Forms.UWP in release mode, if i add the assembly to the image source as in the below code.

image_view.Source = ImageSource.FromResource("DataGridSample.RedDown.png",typeof(MainPage).GetTypeInfo().Assembly);
Comment 1 Paul DiPietro [MSFT] 2017-03-23 14:01:09 UTC

*** This bug has been marked as a duplicate of bug 39685 ***
Comment 2 Suhasini 2017-03-28 12:35:56 UTC
Hi Team, 

I could not see this details documented anywhere. I referred the below link. 
https://developer.xamarin.com/guides/xamarin-forms/user-interface/images/

Please document this somewhere and then Close the bug report
Comment 3 Cody Beyer (MSFT) 2017-06-16 19:13:24 UTC
I will request clarification within documentation
Comment 4 Harikrishnan 2017-06-19 12:24:53 UTC
Hi @Cody,

Can this report be kept open until the documentation and updated and reverted here with the updated link?
Comment 5 Suhasini 2017-06-27 10:01:52 UTC
Hi Team,

Please keep this bug open, until the details are documented.
Comment 6 Paul DiPietro [MSFT] 2017-06-27 12:21:29 UTC
The referred to link is presumably the one which will be updated, so you should be able to simply keep an eye on it. These sorts of issues involving documentation are typically closed as we prefer to focus on leaving issues involving application/Forms bugs open to not clog the open backlog of work.