What am I? I am a nuget and IDE Extension to help with developing HotReload libraries.
- ESP
- A nice little library that deals with establishing communication between the IDE and the code base.
- IDE Extensions
- In App Roslyn compilation
- Notifcation for when a new DataType is available
Reloadify listents to text change notifications, and Document saves in your IDE.
When this happens, we collect the changes and send them to the client lib.
The client lib then takes those changes and compiles a new DLL, with new Types.
Reloadify then sends a notification of all the types that changed, so your library can reload those types.
Install the Extension
Install the nuget.
Now just hook into the reload notification
Reloadify.Reload.Instance.ReplaceType = (d) => {
string oldType = d.ClassName;
Type newType = d.Type;
};
Reloadify.Reload.Instance.FinishedReload = () =>{
//All new types are in! Lets reload!
};
And now initialize it!
Reloadify.Reload.Init();
Reloadify is a proof of concept. There is no official support. Use at your own Risk.
Thank you Frank for the original proof of concept!