Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support Hot Reload in .NET 6 #162

Open
davidwengier opened this issue Apr 26, 2021 · 0 comments
Open

Support Hot Reload in .NET 6 #162

davidwengier opened this issue Apr 26, 2021 · 0 comments

Comments

@davidwengier
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant