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
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
Metadata
- ID: 912ce2ed-fd27-02ad-d94a-eed9ed756d59
- PlatformId: 9135edf3-c128-c93f-2093-70d87d3e92ef
- Service: dotnet-mobile
- Sub-service: dotnet-maui