Skip to content

Update xaml-hot-reload.md #10360

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

Merged
merged 3 commits into from
Aug 22, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 10 additions & 8 deletions docs/xaml-tools/xaml-hot-reload.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: "XAML Hot Reload for WPF and UWP apps"
description: Modify XAML code in running Windows Presentation Foundation (WPF) or Universal Windows Platform (UWP) apps with edit and continue features in XAML Hot Reload.
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.
ms.date: 02/25/2022
ms.topic: conceptual
helpviewer_keywords:
Expand All @@ -12,9 +12,9 @@ manager: mijacobs
ms.subservice: xaml-tools
monikerRange: ">=vs-2019"
---
# What is XAML Hot Reload for WPF and UWP apps? (Visual Studio)
# What is XAML Hot Reload?

With XAML Hot Reload, you can incrementally build and test XAML code for your WPF and UWP apps. You can do so 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.
With XAML Hot Reload, you can incrementally build and test XAML code for your .NET MAUI, WPF, UWP, and WinUI 3 apps. You can do so 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.

> [!TIP]
> 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.
Expand All @@ -23,7 +23,7 @@ With XAML Hot Reload, you can incrementally build and test XAML code for your WP

## Where to get XAML Hot Reload

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**).
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**).

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

Expand All @@ -38,11 +38,13 @@ XAML Hot Reload is especially helpful in these scenarios:
## Supported OS

|Supported Application Types|Operating System and Tools|
|-|-|-|
|Windows Presentation Foundation (WPF) |.NET Framework 4.6+ and .NET Core</br>Windows 7 and later |
|---|---|
|.NET MAUI|.NET6+|
|Windows Presentation Foundation (WPF) |.NET Framework 4.6+, .NET Core, and .NET 5+</br>Windows 7 and later |
|Universal Windows apps (UWP)|Windows 10 and later, with the [Windows 10 SDK](https://developer.microsoft.com/windows/downloads/windows-sdk/) 14393+ and later|
|WinUI 3)|Windows 10, version 1809 and later, with the Windows App SDK|

If you're using **Xamarin.Forms**, see [XAML Hot Reload for Xamarin.Forms](/xamarin/xamarin-forms/xaml/hot-reload).
If you're using **.NET MAUI**, see [XAML Hot Reload for .NET MAUI](/dotnet/maui/xaml/hot-reload) for more details.

## Example

Expand All @@ -53,6 +55,6 @@ The following animation shows an instance of using Live Visual Tree to open some
## Related content

* [Troubleshooting XAML Hot Reload](xaml-hot-reload-troubleshooting.md)
* [XAML Hot Reload for Xamarin.Forms](/xamarin/xamarin-forms/xaml/hot-reload)
* [XAML Hot Reload for .NET MAUI](/dotnet/maui/xaml/hot-reload)
* [Edit and Continue (Visual C#)](../debugger/edit-and-continue-visual-csharp.md)
* [XAML data binding diagnostics](xaml-data-binding-diagnostics.md)