8000 Does IL-repack support for hot reload · Issue #386 · gluck/il-repack · GitHub
[go: up one dir, main page]

Skip to content

Does IL-repack support for hot reload #386

Open

Description

@SoggyBottomBoy

I'm assuming there is no way for IL-repack to support hot reload?

I just want to make sure I'm not missing something or should expect hot reload to work. My assumption is no it won't work.

Activity

  1. KirillOsenkov commented on Jan 23, 2025

    @KirillOsenkov
    Collaborator

    As far as I can tell .dlls produced by ILRepack should behave the same as other .dlls in terms of HotReload, I'm honestly not sure why HotReload wouldn't work for these.

  2. SoggyBottomBoy commented on Jan 23, 2025

    @SoggyBottomBoy
    Author

    Here is a simple example if you break on line 4 and uncomment line 5 and save hot reload will fail.
    Image

    https://github.com/[SoggyBottomBoy/ILRepackHotReload](https://github.com/SoggyBottomBoy/ILRepackHotReload)

    And if I follow the settings and allow source to be different from original the new code is not run
    Image

    And the HotReload output

    18:49 30.92 ILRepackHotReload (ILRepackHotReload):16012: Attaching to process.
    18:49 30.92 Starting session.
    18:49 30.94 ILRepackHotReload (4): Hot Reload session started.
    18:49 39.67 Checking for code updates...
    18:49 39.73 Applying code updates...
    18:49 39.73 ILRepackHotReload (4): Sending updates to running application.
    18:49 39.73 Code changes were successfully applied.
    18:49 39.97 ILRepackHotReload (4): Updates applied successfully.

  3. KirillOsenkov commented on Jan 23, 2025

    @KirillOsenkov
    Collaborator

    I appreciate the repro, but unfortunately I don't have the capacity to investigate this right now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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

      0