MSIX of MAUI app does not installed on Window server 2019? Why ?

Dani_S 4,501 Reputation points
2023-04-09T08:18:29.8833333+00:00

Hi, I'm using this command to install msix on server 2019 and is not work ? why ? Do I need to install anything on server 2019 to run it ? Thanks, dotnet publish -f net6.0-windows10.0.19041.0 -c Release /p:AppxPackageSigningEnabled=true /p:PackageCertificateThumbprint="c01ba45666762f3615cf6813aeb4dc4b1919541d"

Developer technologies | .NET | .NET MAUI
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.

    1 deleted comment

    Comments have been turned off. Learn more

  2. Yonglun Liu (Shanghai Wicresoft Co,.Ltd.) 50,126 Reputation points Microsoft External Staff
    2023-04-11T07:25:22.4733333+00:00

    Hello,

    Do I need to install anything on server 2019 to run it ?

    No, msix is supported for Windows Server 2019 versions.

    From your description, I noticed that you are using the command line for releasing msix instead of installing. By referring to this official documentation Publish a .NET MAUI app for Windows with the CLI, you could manually go to the file path after publishing the Windows application, and then double-click to install msix.

    Publishing builds and packages the app, copying the signed package to the bin\Release\net7.0-windows10.0.19041.0\win10-x64\AppPackages\<appname>\ folder. <appname> is a folder named after both your project and version. In this folder, there's an msix file, and that's the app package.

    Best Regards,

    Alec Liu.


    If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


  3. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.