-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
XAML Hot Reload not working running MAUI app on Windows Machine #3237
Comments
I'm experiencing the same issue. I tried uninstalling and searching my c drive for anything that mentioned "visual studio" and deleted everything. I even went through the registry and deleted a bunch of keys before rebooting and re-installing. When re-installing I only checked components relevant to maui, still no luck. Hot Reload doesn't work at all, doesn't matter what settings I have enabled, or if the app is running elevated. |
Same problem with Windows Machine. |
Faced the same problem (for all simulators (android, windows)). |
Same here. No hot reload for any platform deployment. |
Facing same issue. [10:04:25 AM] (MauiApp21) .NET6 Project references MAUI. |
Updated to Visual Studio 2022 Preview 1.1. Hot reload still broken for all platforms. |
After update to VS Version 17.1.0 Preview 2.0 all works property. |
Issue is fixed with VS Preview 2.0 update. |
Just trying MAUI, and I'm using VS 17.1.0 Preview 5.0, and it's not working at all. I'm debugging, and the hot reload button isn't greyed out - but when I click it, nothing happens. I've tried using both the Android emulator, or just building as a Windows app. |
Sorry, seems to have now magically started working! Didn't change anything. |
This issue was originally tied to a mismatch between versions of MAUI and XAML Hot Reload. There were underlying changes in MAUIs API that broke XAML Hot Reload if you happened to upgrade before that shipped with Visual Studio. That was addressed in an earlier VS release, it shouldn't be an issue now for this specific case. |
This issue has been moved from a ticket on Developer Community.
! [image.png] (https://aka.ms/dc/image?name=B1515664df46945f59725e8befb796773637711123691104432_20211029-095247-image.png&tid=1515664df46945f59725e8befb796773637711123691104432)
Original Comments
Feedback Bot on 11/1/2021, 00:04 AM:
We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.
Ken Annable on 11/1/2021, 04:17 AM:
In the step #8 above I indicated pressing F5 when the DLL load exception occurs. I was able to fix this issue by uninstalling VS 2022 and all SDKs, Frameworks, and Runtimes using the “Apps”->“Apps & features” view in Settings. Then manually cleaning up directories in “Program Files”, “Program Files (x86)”, “ProgramData”, and “Users\[myusername]”. Next I ran DiskCleanup, rebooted, and reinstalled VS Community 2022 Preview 7. Performing these steps corrected the DLL load exception but did NOT fix the XAML Hot Reload issue in this ticket.
Original Solutions
(no solutions)
The text was updated successfully, but these errors were encountered: