Skip to content

Commit 2cf6cb8

Browse files
Potential fix for pull request finding
Co-authored-by: Copilot Autofix powered by AI <[email protected]>
1 parent 0e5d1aa commit 2cf6cb8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

hub/apps/get-started/windows-developer-faq.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ Topics covered include:
109109
>
110110
> - If you're running a **packaged** app (the recommended default), ensure you're launching via Visual Studio with the **MsixPackage** launch profile selected (not the plain executable profile). The MSIX packaging step installs the required runtime components.
111111
> - If you're running an **unpackaged** app, you must install the [Windows App SDK runtime](../windows-app-sdk/downloads.md) separately before running the app outside of Visual Studio.
112-
> - If the error occurs during development, open your `.csproj` and confirm `<WindowsPackageType>MSIX</WindowsPackageType>` is set (for packaged apps), or that you've called `Bootstrap.Initialize()` at startup (for unpackaged apps).
112+
> - If the error occurs during development, open your `.csproj` and confirm that your packaging configuration matches your deployment model: for **packaged** apps, omit the `<WindowsPackageType>` property (or leave it at its default) and build/run the MSIX package; for **unpackaged** apps, set `<WindowsPackageType>None</WindowsPackageType>` and ensure you've called `Bootstrap.Initialize()` at startup.
113113
>
114114
> See [Deploy apps that use the Windows App SDK](../package-and-deploy/deploy-overview.md) for more details on deployment requirements.
115115

0 commit comments

Comments
 (0)