How to find where .pkg file store the installed app

Dani_S 3,186 Reputation points
2024-06-25T09:23:23.6533333+00:00

I Use the following command to create a .pkg:

.NET CLICopy

dotnet publish -f net8.0-maccatalyst -c Release

Publishing builds the app, and then copies the .app to the bin/Release/net8.0-maccatalyst/ folder or the .pkg to the bin/Release/net8.0-maccatalyst/publish/ folder. If you publish the app using only a single architecture, the .app will be published to the bin/Release/net8.0-maccatalyst/{architecture}/ folder while the .pkg will be published to the bin/Release/net8.0-maccatalyst/{architecture}/publish/ folder.

For more information about the dotnet publish command, see dotnet publish.

Later i install the .pck file in my main drive but where i find the app after the installtion?

Thanks,

.NET MAUI
.NET MAUI
A Microsoft open-source framework for building native device applications spanning mobile, tablet, and desktop.
3,115 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Wenyan Zhang (Shanghai Wicresoft Co,.Ltd.) 28,246 Reputation points Microsoft Vendor
    2024-06-29T05:15:45.74+00:00

    Hello,

    I want to install it locally it possible, no app store?

    There is an official doc to guide the step, please follow it- Publish a .NET MAUI Mac Catalyst app for distribution outside the Mac App Store - .NET MAUI | Microsoft Learn

    There are multiple steps, if you have any issues, please feel free to post in here.

    Command

    dotnet publish -f net8.0-maccatalyst -c Release -p:MtouchLink=SdkOnly -p:CreatePackage=true -p:EnableCodeSigning=true -p:EnablePackageSigning=true -p:CodesignKey="Developer ID Application: John Smith (AY2GDE9QM7)" -p:CodesignProvision="MyMauiApp (Non-App Store)" -p:CodesignEntitlements="Platforms\MacCatalyst\Entitlements.plist" -p:PackageSigningKey="Developer ID Installer: John Smith (AY2GDE9QM7)" -p:UseHardenedRuntime=true
    

    Best Regards,

    Wenyan Zhang


    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.

    0 comments No comments