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

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

Open
PickleUpADoodle opened this issue Apr 10, 2024 · 0 comments
Labels
question Further information is requested

Comments

@PickleUpADoodle
Copy link

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).

@PickleUpADoodle PickleUpADoodle added the question Further information is requested label Apr 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

1 participant