Wrong information regarding self contained property settings
- Dominant language
- No language data
- Stars
- 282
- Forks
- 265
- Avg merge
- 2d 2h
- Merged PRs (30d)
- 19
Description
### Type of issue
Other (describe below)
### Description
the last paragraph of the doc reads
""An important distinction from a packaged app is that this won't include the .NET runtime in the folder. This means that the app will require the .NET runtime to first be installed on the machines that will eventually run the app. To ensure the app also contains all the runtime components, the -p:WindowsAppSDKSelfContained argument can be provided when publishing. For example:""
and then shows this as an example
dotnet publish -f net8.0-windows10.0.19041.0 -c Release -p:RuntimeIdentifierOverride=win10-x64 -p:WindowsPackageType=None -p:WindowsAppSDKSelfContained=true
I'm pretty sure "WindowsAppSDKSelfContained" and including the ".NET runtime" aren't related.
It seems like this section should be expanded to mention the difference between WindowsAppSDKSelfContained and --self-contained true
### Page URL
https://learn.microsoft.com/en-us/dotnet/maui/windows/deployment/publish-unpackaged-cli?view=net-maui-9.0
### Content source URL
https://github.com/dotnet/docs-maui/blob/main/docs/windows/deployment/publish-unpackaged-cli.md
### Document Version Independent Id
912ce2ed-fd27-02ad-d94a-eed9ed756d59
### Platform Id
9135edf3-c128-c93f-2093-70d87d3e92ef
### Article author
@davidbritch
### Metadata
* ID: 912ce2ed-fd27-02ad-d94a-eed9ed756d59
* PlatformId: 9135edf3-c128-c93f-2093-70d87d3e92ef
* Service: **dotnet-mobile**
* Sub-service: **dotnet-maui**
[Related Issues](https://github.com/dotnet/docs-maui/issues?q=is%3Aissue+is%3Aopen+912ce2ed-fd27-02ad-d94a-eed9ed756d59)
Contributor guide
Assessment
This issue has not been assessed yet.