HaroohieClub.DotNet.Bundle 1.0.3

dotnet add package HaroohieClub.DotNet.Bundle --version 1.0.3
                    
NuGet\Install-Package HaroohieClub.DotNet.Bundle -Version 1.0.3
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="HaroohieClub.DotNet.Bundle" Version="1.0.3" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="HaroohieClub.DotNet.Bundle" Version="1.0.3" />
                    
Directory.Packages.props
<PackageReference Include="HaroohieClub.DotNet.Bundle" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add HaroohieClub.DotNet.Bundle --version 1.0.3
                    
#r "nuget: HaroohieClub.DotNet.Bundle, 1.0.3"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package HaroohieClub.DotNet.Bundle@1.0.3
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=HaroohieClub.DotNet.Bundle&version=1.0.3
                    
Install as a Cake Addin
#tool nuget:?package=HaroohieClub.DotNet.Bundle&version=1.0.3
                    
Install as a Cake Tool

HaroohieClub.DotNet.Bundle

Command-line interface tools for bundling .NET Core projects into MacOS applications (.app)

We've forked it and will be more actively maintaining this version, including updating the package to include more plist properties.

Installation

Install MSBuild task via NuGet package: HaroohieClub.DotNet.Bundle

NuGet

<PackageReference Include="HaroohieClub.DotNet.Bundle" Version="*" />

Using the tool

dotnet msbuild -t:BundleApp -p:RuntimeIdentifier=osx-x64 [-p: ...]

Properties

Define properties to override default bundle values

<PropertyGroup>
    <CFBundleName>AppName</CFBundleName> 
    <CFBundleDisplayName>App Name</CFBundleDisplayName>
    <CFBundleIdentifier>com.example</CFBundleIdentifier>
    <CFBundleVersion>1.0.0</CFBundleVersion>
    <CFBundlePackageType>APPL</CFBundlePackageType>
    <CFBundleSignature>????</CFBundleSignature>
    <CFBundleExecutable>AppName</CFBundleExecutable>
    <CFBundleIconFile>AppName.icns</CFBundleIconFile> 
    <NSPrincipalClass>NSApplication</NSPrincipalClass>
    <NSHighResolutionCapable>true</NSHighResolutionCapable>

    
    <NSRequiresAquaSystemAppearance>true</NSRequiresAquaSystemAppearance>
</PropertyGroup>

<ItemGroup>
    
    <CFBundleURLTypes Include="dummy"> 
        <CFBundleURLName>TestApp URL</CFBundleURLName>
        <CFBundleURLSchemes>testappurl;testappurl://</CFBundleURLSchemes> 
    </CFBundleURLTypes>
    <CFBundleURLTypes Include="dummy">
        <CFBundleURLName>TestApp URL2</CFBundleURLName>
        <CFBundleURLSchemes>test://</CFBundleURLSchemes>
    </CFBundleURLTypes>
</ItemGroup>

<ItemGroup>
    <CFBundleDocumentTypes Include="dummy">
      <CFBundleTypeName>TestFile</CFBundleTypeName>
      <CFBundleTypeIconFile>IconTest.icns</CFBundleTypeIconFile>
      <CFBundleTypeExtensions>test</CFBundleTypeExtensions>
      <CFBundleTypeRole>Editor</CFBundleTypeRole>
    </CFBundleDocumentTypes>
    <CFBundleDocumentTypes Include="dummy">
      <CFBundleTypeName>TestFile2</CFBundleTypeName>
      <CFBundleTypeIconFile>IconTest.icns</CFBundleTypeIconFile>
      <CFBundleTypeExtensions>tst;tst2</CFBundleTypeExtensions>
      <CFBundleTypeRole>Editor</CFBundleTypeRole>
    </CFBundleDocumentTypes>
  </ItemGroup>

More info: https://developer.apple.com/library/archive/documentation/CoreFoundation/Conceptual/CFBundles/BundleTypes/BundleTypes.html

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

  • .NETStandard 2.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.0.3 734 3/14/2025
1.0.2 83 3/14/2025
1.0.1 392 2/28/2025
1.0.0 109 2/28/2025