- anton.sodergren_pdx
- Posts: 18
- Joined:
Hot reload of global resources
Hi, I just wanted to check something about hot reloading.
Whenever a XAML file for a window is changed while the game is running, it is properly reloaded. However, when a XAML file containing global resources is changed, we do call RaiseXamlChanged, but nothing seems to happen.
Is this the expected behaviour? Is there simply no support for hot reloading global resource files? And if that is the case, are there any plans for implementing support for this?
Whenever a XAML file for a window is changed while the game is running, it is properly reloaded. However, when a XAML file containing global resources is changed, we do call RaiseXamlChanged, but nothing seems to happen.
Is this the expected behaviour? Is there simply no support for hot reloading global resource files? And if that is the case, are there any plans for implementing support for this?
-
sfernandez
Site Admin
- Posts: 2984
- Joined:
Re: Hot reload of global resources
Hi Anton,
Reloading ResourceDictionaries is not working yet, only xamls of objects connected to the visual tree are reloaded right now.
We have plans to implement support for that in the following major version.
Reloading ResourceDictionaries is not working yet, only xamls of objects connected to the visual tree are reloaded right now.
We have plans to implement support for that in the following major version.
Who is online
Users browsing this forum: Ahrefs [Bot] and 54 guests