Skip to content

Commit 222997a

Browse files
authored
Remove stale comment. (#5441)
1 parent 5e3215e commit 222997a

File tree

1 file changed

+0
-12
lines changed

1 file changed

+0
-12
lines changed

hub/apps/package-and-deploy/self-contained-deploy/deploy-self-contained-apps.md

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -14,18 +14,6 @@ A Windows App SDK project is framework-dependent by default. To switch to self-c
1414
* In the app project file, inside the main `PropertyGroup`, add `<WindowsAppSDKSelfContained>true</WindowsAppSDKSelfContained>` as shown in the screenshot below.
1515

1616
![Screenshot showing the WindowsAppSDKSelfContained property set in a project file.](../../images/winappsdk-self-contained.png)
17-
* For packaged projects, in the app project file, at the end of the file before the closing `</Project>`, add the `Target` shown below.
18-
19-
```
20-
<Target Name="_RemoveFrameworkReferences" BeforeTargets="_ConvertItems;_CalculateInputsForGenerateCurrentProjectAppxManifest">
21-
<ItemGroup>
22-
<FrameworkSdkReference Remove="@(FrameworkSdkReference)" Condition="$([System.String]::Copy('%(FrameworkSdkReference.SDKName)').StartsWith('Microsoft.WindowsAppRuntime.'))" />
23-
</ItemGroup>
24-
</Target>
25-
```
26-
27-
> [!NOTE]
28-
> This is a workaround for a bug in Windows App SDK 1.1 and will not be necessary with Windows App SDK 1.2. It is only required for packaged projects.
2917
* Save and close the project file.
3018
* Click **Reload Project**.
3119
* If you're using a **Windows Application Packaging Project** (rather than the single-project MSIX that you get with **Blank App, Packaged (WinUI 3 in Desktop)**), then make all of the above changes in the project file for the packaging project as well.

0 commit comments

Comments
 (0)