anton.sodergren_pdx
Topic Author
Posts: 18
Joined: 24 Mar 2022, 17:10

Hot reload of global resources

10 May 2022, 17:53

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?
 
User avatar
sfernandez
Site Admin
Posts: 2984
Joined: 22 Dec 2011, 19:20

Re: Hot reload of global resources

12 May 2022, 19:02

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.

Who is online

Users browsing this forum: Ahrefs [Bot] and 54 guests