排查 XAML 热重载问题Troubleshooting XAML Hot Reload
09/04/2019
本文内容
此故障排除指南包括的详细说明应解决阻止 XAML 热重载正常工作的大多数问题。This troubleshooting guide includes detailed instructions that should resolve most issues that prevent XAML Hot Reload from working correctly.
WPF 和 UWP 应用支持 XAML 热重载。XAML Hot Reload is supported for WPF and UWP apps. For details on operating system and tooling requirements, see Write and debug running XAML code with XAML Hot Reload.
热重载不可用Hot Reload is not available
调试应用时,如果在应用内工具栏中看到消息 "热重载不可用",请按照本文中所述的说明解决此问题。If you see the message "Hot Reload is not available" in the in-app toolbar while debugging your app, follow the instructions described in this article to resolve the issue.
验证是否启用了 XAML 热重载Verify that XAML Hot Reload is enabled
默认情况下启用此功能。The feature is enabled by default. 开始调试应用时,请确保看到应用内工具栏,该工具栏确认 XAML 热重载可用:When you star