MAUI - Deploy in MAC

Dani_S 4,501 Reputation points
2022-12-07T15:10:41.767+00:00

Hi,
I used this command to deploy on windows:
dotnet publish -f net6.0-windows10.0.19041.0 -c Release -p:WindowsPackageType=None -p:WindowsAppSDKSelfContained=true /p:PackageCertificateThumbprint="c01ba45666762f3615cf6813aeb4dc4b1919541d"
How is done in MAC?
Thanks,

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

1 answer

Sort by: Most helpful
  1. Rob Caplan - MSFT 6,032 Reputation points Microsoft Employee Moderator
    2022-12-07T22:05:34.247+00:00

    You cannot build or run Windows apps on Mac.

    If you're looking for info on building a MAUI MacCatalyst app from the Mac's command line see Build a Mac Catalyst app with .NET CLI and Publish a .NET MAUI app for macOS

    0 comments No comments

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.