Why is MAUI hot reload in Rider 2023.2 not working?

I've updated Rider to 2023.2, opened a .NET 7 MAUI project, launched it in debug mode and changed a label text in XAML file, then saved the file. According to XAML Hot Reload for MAUI  and What does Hot Reload do, the editor should display a line informing that sources are modified and a link to apply changes. But nothing like this appeared in my editor and the label in the launched app didn't change.

In Rider settings, all options in "Build, Execution, Deployment" > "Hot Reload" are checked.

Is there anything other to do to have the hot reload working?

0
3 comments

Hello,

Thank you for contacting Rider support.

Would you mind sharing additional information?

  • What is your OS?
  • What is the target device (what Run configuration) you are trying to debug?

Thank you in advance and have a nice day!

0

Hi,

My OS is Windows 10 and I debug only on Windows so far. 

Steps to replicate: open Visual Studio 2022 on Windows 10, create new solution from .NET MAUI App template with .NET 7.0 framework, close Visual Studio, open Rider and load the solution, click the "Debug" button, see the welcome page of the running app, open MainPage.xaml file, change the label with "Hello World!" text and save, notice that the label was not changed in the running app and nothing like "Apply changes" appeared in the editor.

By the way, I am creating the solution in VS because in Rider I have only .NET 8 as framework for the MAUI and can't change the framework.

0

Hello Bea,

Thank you for the details shared. 

Regrettably, it is not supported yet. Apologies for the inconvenience. We have the following related issues on our tracker:

We would appreciate it if you could upvote it to demonstrate your interest.

Should you have any other questions or difficulties, please let me know.
Have a nice day!

0

Please sign in to leave a comment.