Getting the issue "you must intall .net desktop runtime to run this application" when i am running my maui app in new machine even when i am using -p:WindowsAppSDKSelfContained=true while publishing #2653
Labels
dotnet-maui/subsvc
dotnet-mobile/svc
Pri2
support-request
Support-style question;customer needs help solving a problem [org]
Type of issue
Code doesn't work
Description
i am using this command to publish my maui app "dotnet publish -f net8.0-windows10.0.19041.0 -c Release -p:RuntimeIdentifierOverride=win10-x64 -p:WindowsPackageType=None -p:WindowsAppSDKSelfContained=true"
when i try to run my app on new window machine then i am getting following error.
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
Article author
@davidbritch
Metadata
Related Issues
The text was updated successfully, but these errors were encountered: