Skip to content

[Question] Hot-reload managed assemblies using assembly file lock instead of through FileStream #291

@PickleUpADoodle

Description

@PickleUpADoodle

I have a question about the methods available for hot-reloading managed DLL files.

This library only supports hot-reload by loading assembly files in memory through a FileStream. Is the only reason locks cannot be used the fact that a loaded assembly cannot be removed from disk, thus making it not possible for the "changed" event to happen regarding the FileWatcher? Or are there more complications making it not possible/feasible? Locks in this case referring to the loading methods where "load-by-name" or path is used (not file stream).

Metadata

Metadata

Assignees

No one assigned

    Labels

    questionFurther information is requested

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions