Skip to content

Commit 4301d12

Browse files
Merge pull request #13864 from Mikejo5000/mikejo-br25
Add info on design-time availability of XAML Live Preview and XAML Hot Reload
2 parents 76ca542 + 511f4e7 commit 4301d12

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

docs/xaml-tools/xaml-hot-reload.md

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: "XAML Hot Reload for WPF and UWP apps"
33
description: Modify XAML code in running .NET MAUI, WinUI 3, Windows Presentation Foundation (WPF), or Universal Windows Platform (UWP) apps with edit and continue features in XAML Hot Reload.
4-
ms.date: 08/27/2024
4+
ms.date: 04/24/2025
55
ms.topic: conceptual
66
helpviewer_keywords:
77
- "xaml edit and continue"
@@ -23,15 +23,17 @@ With XAML Hot Reload, you can incrementally build and test XAML code for your .N
2323
2424
## Where to get XAML Hot Reload
2525

26-
Visual Studio XAML Hot Reload is currently supported only when you're running an application in **Visual Studio** -or- **Blend for Visual Studio** (if supported by the framework) with the debugger attached (**F5** or **Start debugging**).
26+
Visual Studio XAML Hot Reload is supported when you're running an application in **Visual Studio** -or- **Blend for Visual Studio** (if supported by the framework) with the debugger attached (**F5** or **Start debugging**).
27+
28+
Starting in Visual Studio 2022 version 17.14 Preview 2, XAML Hot Reload and [XAML Live Preview](../xaml-tools/xaml-live-preview.md) are available at design-time and not just during a debugging session.
2729

2830
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).
2931

30-
## Applications for XAML Hot Reload
32+
## Scenarios for XAML Hot Reload
3133

3234
XAML Hot Reload is especially helpful in these scenarios:
3335

34-
* Fixing UI problems found in your XAML code after the app was started in debug mode.
36+
* Fixing UI problems found in your XAML code.
3537

3638
* Building a new UI component for an app that is under development, while taking advantage of your app's runtime context.
3739

docs/xaml-tools/xaml-live-preview.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Capture & edit desktop app UI with XAML Live Preview
33
description: Pair XAML Live Preview with XAML Hot Reload to capture desktop app UI, make iterative changes in Visual Studio, and view your changes in real time.
4-
ms.date: 11/08/2021
4+
ms.date: 04/24/2025
55
ms.topic: conceptual
66
helpviewer_keywords:
77
- "xaml edit"
@@ -22,6 +22,8 @@ With XAML Live Preview, you can capture a desktop app's user interface (UI) and
2222

2323
The XAML Live Preview window is available during debugging. To open it, go to **Debug** > **Windows** > **XAML Live Preview**.
2424

25+
Starting in Visual Studio 2022 version 17.14 Preview 2, XAML Live Preview and [XAML Hot Reload](../xaml-tools/xaml-hot-reload.md) are available at design-time and not just during a debugging session.
26+
2527
:::image type="content" source="media/vs-2022/xaml-live-preview-menu.png" alt-text="Screenshot of the XAML Live Preview option from the Debug menu bar.":::
2628

2729
Or, select the **Show in XAML Live Preview** button in the application toolbar.

0 commit comments

Comments
 (0)