Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

[Xaml] Support correctly custom resource providers #4236

Merged
merged 1 commit into from
Nov 7, 2018

Conversation

ylatuya
Copy link
Contributor

@ylatuya ylatuya commented Oct 27, 2018

Description of Change

When having a resources provider set, we should return the resource as soon as possible without having to read the original one from assembly.
This fixes live-reload scenarios in which reloading of code is done creating new types in dynamic assemblies, where GetManifestResourceStream is not available.

Issues Resolved

API Changes

None

Platforms Affected

  • Core/XAML (all platforms)

Behavioral/Visual Changes

None

Before/After Screenshots

Not applicable

Testing Procedure

PR Checklist

  • Has automated tests
  • Rebased on top of the target branch at time of PR
  • Changes adhere to coding standard

@kzu
Copy link
Contributor

kzu commented Oct 27, 2018

Makes sense to me 👍

@StephaneDelcroix StephaneDelcroix self-assigned this Oct 29, 2018
@StephaneDelcroix
Copy link
Member

could you please add a test ? thanks

Copy link
Contributor

@kingces95 kingces95 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awaiting test case...

@StephaneDelcroix StephaneDelcroix merged commit 14c2974 into xamarin:master Nov 7, 2018
@samhouts samhouts added this to the 4.0.0 milestone Dec 4, 2018
@samhouts samhouts modified the milestones: 4.0.0, 3.5.0 Jan 10, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants