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
description: "Deploy the Windows App SDK with your application rather than as a framework package dependency."
12
+
extendedZipContent:
13
+
- path: LICENSE
14
+
target: LICENSE
15
+
---
16
+
17
+
# Self-Contained Deployment
18
+
19
+
Deploy the Windows App SDK with your application rather than as a framework package dependency.
20
+
21
+
## Prerequisites
22
+
23
+
* See [System requirements for Windows app development](https://docs.microsoft.com/windows/apps/windows-app-sdk/system-requirements).
24
+
* Make sure that your development environment is set up correctly—see [Install tools for developing apps for Windows 10 and Windows 11](https://docs.microsoft.com/windows/apps/windows-app-sdk/set-up-your-development-environment).
25
+
26
+
## Building and running any of the samples
27
+
28
+
* Open the solution file (`.sln`) from the subfolder of your preferred sample in Visual Studio.
29
+
* From Visual Studio, either **Start Without Debugging** (Ctrl+F5) or **Start Debugging** (F5).
<!-- Copyright (c) Microsoft Corporation. All rights reserved. Licensed under the MIT License. See LICENSE in the project root for license information. -->
<value>Add <WindowsAppSDKSelfContained>true</WindowsAppSDKSelfContained> to the project file to enable self-contained deployment.
122
+
123
+
Right-click the project then select Edit Project File to open the project file for editing, then add <WindowsAppSDKSelfContained>true</WindowsAppSDKSelfContained> to the main PropertyGroup. You may need to select Unload Project first before Edit Project File is offered.
124
+
125
+
The contents of the Windows App SDK framework package will be extracted to your build output and deployed as part of your application.</value>
0 commit comments