Skip to content

Commit

Permalink
doc: Add more info on WAP project
Browse files Browse the repository at this point in the history
  • Loading branch information
roxk committed Apr 21, 2024
1 parent 5ea60a8 commit e66d6d8
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ Contributions are welcome! :D
- Interactive preview of your XAML code (powered by `XamlReader`)
- Integration with VS2022 17.9+
- Reload via opening/saving/switching
- Supports packaged (single project, or with WAP project) or unpackaged app
- Supports your own user control and custom control
- Supports controls in dependency (i.e. libraries)
- Supports control template previewing with control+style dropdown
Expand All @@ -31,6 +32,10 @@ Contributions are welcome! :D

\*See section below on Direct vs Sample App

### Packaged App with WAP (Windows Application Package) project Support

The VS2022 extension would automatically find the WAP project that packages your app. If you have multiple WAP packages packaging the same app, the behavior is undefined. In this scenario, it's recommended you use the `WinUI3XPLaunchProject` property to specify which project to launch. See [Configuration](#Configuration) section for more details.

### WinRT Component Support - Direct Mode and Sample App Mode

WinRT Component preview support comes in two mode. One is "Direct" mode, another is "Sample App" mode. Direct mode means you can preview directly in-project. Sample App mode means you preview via a separate "Sample App" project.
Expand Down

0 comments on commit e66d6d8

Please sign in to comment.