Hotreload not working on MAUI

SSB 111 Reputation points
2023-12-30T14:42:16.97+00:00

Hi, Hot reload isn't working on both iOS or Android. I have Visual Studio 2022 Mac, .net 8 enabled and the hot reload isn't working on this.

What can i check to investigate furhter?

Developer technologies | .NET | .NET MAUI
{count} votes

2 answers

Sort by: Most helpful
  1. Bruce (SqlWork.com) 77,686 Reputation points Volunteer Moderator
    2023-12-30T17:38:51.87+00:00

    Visual Studio for Mac has been retired and .net 8 support is limited.

    https://learn.microsoft.com/en-us/visualstudio/mac/what-happened-to-vs-for-mac?view=vsmac-2022

    you should probably move to visual studio code or jetrider if you want an ide. Your other option is parallels hosting windows and visual studio.

    Note: I just switched to swift and kotlin to have native tool support. When .net can produce native libraries, I’ll revisit .net for sharing mobile app code.


  2. SSB 111 Reputation points
    2024-01-02T11:03:59.6866667+00:00

    For anyone that comes across this issue, it is due to Visual Studio HotReload doesn't support custom build configurations. Can only use HotReload in the Debug build config.

    https://learn.microsoft.com/en-us/visualstudio/debugger/hot-reload?view=vs-2022

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.