space-wizards / RobustToolbox

Robust multiplayer game engine, used by Space Station 14
https://spacestation14.io
Other
556 stars 416 forks source link

Hot-reloading of XAML UIs #1718

Open SweptWasTaken opened 3 years ago

SweptWasTaken commented 3 years ago

Would it at all be possible to hot-reload XAML UIs?

PJB3005 commented 3 years ago

I'm thinking it may be better to stop using XamlX's IL output for debug builds (obv not release) and then just purely use a dynamically-loaded system. It'll be trivial afterwards.

SweptWasTaken commented 3 years ago

I'm thinking it may be better to stop using XamlX's IL output for debug builds (obv not release) and then just purely use a dynamically-loaded system. It'll be trivial afterwards.

I'll pretend to understand what you said by saying "Yeah, sounds good."

PaulRitter commented 3 years ago

partial work done on https://github.com/space-wizards/RobustToolbox/tree/2021_05_01_damn_he_wasn't_kidding_that_xamlui_can_reload