You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/xaml-tools/xaml-hot-reload.md
+15-12Lines changed: 15 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
-
title: "Write and debug XAML using XAML Hot Reload"
2
+
title: "Write and debug XAML code by using XAML Hot Reload"
3
3
description: "XAML Hot Reload, or XAML edit and continue, allows you to make changes to your XAML code while running apps"
4
-
ms.date: 09/23/2020
4
+
ms.date: 09/21/2021
5
5
ms.topic: conceptual
6
6
helpviewer_keywords:
7
7
- "xaml edit and continue"
@@ -13,14 +13,14 @@ ms.technology: vs-xaml-tools
13
13
ms.workload:
14
14
- "multiple"
15
15
---
16
-
# Write and debug running XAML code with XAML Hot Reload in Visual Studio
16
+
# Write and debug your WPF and UWP apps with XAML Hot Reload in Visual Studio
17
17
18
-
XAML Hot Reload helps you build your WPF or UWP app user interface (UI) by letting you make changes to XAML code while your app is running. Hot Reload is available in both Visual Studio and Blend for Visual Studio. This feature enables you to incrementally build and test XAML code with the benefit of the running app's data context, authentication state, and other real-world complexity that's hard to simulate during design-time. If you need help troubleshooting XAML Hot Reload, see [Troubleshooting XAML Hot Reload](xaml-hot-reload-troubleshooting.md) instead.
18
+
With XAML Hot Reload, you can make changes to your XAML code while your app is running. You can use XAML Hot Reload to incrementally build and test XAML code with the benefit of the running app's data context, authentication state, and other real-world complexity that's hard to simulate during design-time.
19
19
20
-
> [!NOTE]
21
-
> If you are using Xamarin.Forms, see [XAML Hot Reload for Xamarin.Forms](/xamarin/xamarin-forms/xaml/hot-reload).
20
+
> [!TIP]
21
+
> If you've arrived here by way of the XAML Hot Reload user interface (UI), welcome! You're in the right place to learn more about XAML Hot Reload. But, if you need help troubleshooting XAML Hot Reload, see [Troubleshooting XAML Hot Reload](xaml-hot-reload-troubleshooting.md) instead.
22
22
23
-
XAML Hot Reload is especially helpful in these scenarios:
23
+
Available in both Visual Studio and Blend for Visual Studio, XAML Hot Reload is especially helpful in these scenarios:
24
24
25
25
* Fixing UI problems found in your XAML code after the app was started in debug mode.
26
26
@@ -31,12 +31,15 @@ XAML Hot Reload is especially helpful in these scenarios:
31
31
|Windows Presentation Foundation (WPF) |.NET Framework 4.6+ and .NET Core</br>Windows 7 and above |
32
32
|Universal Windows apps (UWP)|Windows 10 and above, with the [Windows 10 SDK](https://developer.microsoft.com/windows/downloads/windows-10-sdk) 14393+ |
33
33
34
-
The following illustration shows the use of the Live Visual Tree to open your source code, and then XAML Hot Reload to change the button text and button color.
34
+
> [!NOTE]
35
+
> If you are using Xamarin.Forms, see [XAML Hot Reload for Xamarin.Forms](/xamarin/xamarin-forms/xaml/hot-reload).
36
+
37
+
The following animation shows an instance of using Live Visual Tree to open some source code and then using XAML Hot Reload to change the button text and button color.
35
38
36
-

39
+
:::image type="content" source="../debugger/media/xaml-hot-reload-using.gif" alt-text="An animation of the Live Visual Tree opening source code and using XAML Hot Reload to change UI elements.":::
37
40
38
41
> [!NOTE]
39
-
> Visual Studio XAML Hot Reload is currently only supported when running your application in Visual Studio or Blend for Visual Studio with the debugger attached (**F5** or **Start debugging**). You can't enable this experience by using [Attach to process](../debugger/attach-to-running-processes-with-the-visual-studio-debugger.md) unless you [manually set an environment variable](xaml-hot-reload-troubleshooting.md#verify-that-you-use-start-debugging-rather-than-attach-to-process).
42
+
> Visual Studio XAML Hot Reload is currently supported only when you're running an application in Visual Studio or Blend for Visual Studio with the debugger attached (**F5** or **Start debugging**). You can't enable this experience by using [Attach to process](../debugger/attach-to-running-processes-with-the-visual-studio-debugger.md) unless you [manually set an environment variable](xaml-hot-reload-troubleshooting.md#verify-that-you-use-start-debugging-rather-than-attach-to-process).
40
43
41
44
## Known limitations
42
45
@@ -50,11 +53,11 @@ The following are known limitations of XAML Hot Reload. To work around any limit
|Changing data binding that uses the {x:Bind} markup extension|N/A|Supported starting in Visual Studio 2019|This requires Windows 10 version 1809 (build 10.0.17763). Not supported in Visual Studio 2017 or previous versions.|
52
55
|Changing x:Uid directives is not supported|N/A|Not Supported|None|
53
-
|Multiple processes | Supported | Supported | Supported in Visual Studio 2019 [version 16.6](/visualstudio/releases/2019/release-notes-v16.6) and later |
56
+
|Using multiple processes | Supported | Supported | Supported in Visual Studio 2019 [version 16.6](/visualstudio/releases/2019/release-notes-v16.6) and later |
54
57
55
58
## Error messages
56
59
57
-
You may come across the following errors while using XAML Hot Reload.
60
+
You might come across the following errors while using XAML Hot Reload.
0 commit comments