Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
osamaiqbal1 opened this issue Dec 2, 2024 · 0 comments
Labels
dotnet-maui/subsvc dotnet-mobile/svc Pri2 support-request Support-style question;customer needs help solving a problem [org]

Comments

@osamaiqbal1
Copy link

osamaiqbal1 commented Dec 2, 2024

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.Image

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

  • ID: 912ce2ed-fd27-02ad-d94a-eed9ed756d59
  • Service: dotnet-mobile
  • Sub-service: dotnet-maui

Related Issues

@dotnetrepoman dotnetrepoman bot added the ⌚ Not Triaged Not triaged label Dec 2, 2024
@davidbritch davidbritch added the support-request Support-style question;customer needs help solving a problem [org] label Dec 3, 2024
@dotnetrepoman dotnetrepoman bot removed the ⌚ Not Triaged Not triaged label Dec 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dotnet-maui/subsvc dotnet-mobile/svc Pri2 support-request Support-style question;customer needs help solving a problem [org]
Projects
None yet
Development

No branches or pull requests

2 participants