maui: Run Maui MSI on window server 2019 not working.

Description

I deployed Maui app as shown in https://docs.microsoft.com/en-us/dotnet/maui/windows/deployment/overview Run this on new server 2019 with Desktop Experience installed in it. and is not working.

Steps to Reproduce

  1. Publish Maui app.
  2. Run on server 2019
  3. Nothing happened.

Version with bug

6.0.408 (current)

Last version that worked well

Unknown/Other

Affected platforms

Windows

Affected platform versions

Did you find any workaround?

No

Relevant log output

No

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 20 (7 by maintainers)

Most upvoted comments

I succeeded to create EXE && it run both on window 10 && server 2019 as exe. The fix is /p:GenerateAppxPackageOnBuild=false Thanks