Open davidbritch opened 2 years ago
@StephaneDelcroix
We've moved this issue to the Backlog milestone. This means that it is not going to be worked on for the coming release. We will reassess the backlog following the current release and consider this item at that time. To learn more about our issue management process and to have better expectation regarding different types of issues you can read our Triage Process.
Have provided a workaround to this issue for the time being, refer to this article.
Description
In a .NET for iOS/Android app, that uses .NET MAUI native embedding, attempting to consume a
ResourceDictionary
throws anArgumentNullException
with the message: Value cannot be null (Parameter 'key').This doesn't happen on Windows, but at the same time Windows appears to make no effort to consume the RD (iOS + Android at least apply the values in the RD).
Setting the
Parent
was necessary in Xamarin.Forms. The exception is still thrown ifParent
isn't set.The stack trace seems to indicate that it's a hot reload issue.
Steps to Reproduce
ArgumentNullException
occurs.Link to public reproduction project repository
https://github.com/davidbritch/dotnet-maui-issues/tree/main/Embedding-HotReload
Version with bug
.NET 7 GA.
Affected platforms
iOS, Android
Relevant log output