Skip to content

Support Hot Reload in .NET 6 #162

@davidwengier

Description

@davidwengier

Add a MetadataUpdateHandler attribute, grab all IReloadable instances from DI, and call the Reload method.

Things that need to be IReloadable:

  • Screen caches
  • Image caches
  • Track renderers that cache paths

See dotnet/runtime#51466 for how to do it.

I did it and its easy enough, but the SDK isn't out yet so haven't checked anything in.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions