MacBundle.DotNet
0.9.14
dotnet add package MacBundle.DotNet --version 0.9.14
NuGet\Install-Package MacBundle.DotNet -Version 0.9.14
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="MacBundle.DotNet" Version="0.9.14" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="MacBundle.DotNet" Version="0.9.14" />
<PackageReference Include="MacBundle.DotNet" />
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 MacBundle.DotNet --version 0.9.14
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: MacBundle.DotNet, 0.9.14"
#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 MacBundle.DotNet@0.9.14
#: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=MacBundle.DotNet&version=0.9.14
#tool nuget:?package=MacBundle.DotNet&version=0.9.14
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
dotnet-bundle-mac
Command-line interface tools for bundling .NET Core projects into MacOS applications (.app)
Installation
Install MSBuild task via NuGet package: MacBundle.DotNet
<PackageReference Include="MacBundle.DotNet" Version="*" />
Development
cd TestBundle- run
dotnet msbuild -t:BundleAppMac -p:RuntimeIdentifier=osx-x64 - verify
Build/Debug/net5.0/osx-x64/publishcontents
Using the tool
dotnet msbuild -t:BundleAppMac -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>
There are no supported framework assets in this package.
Learn more about Target Frameworks and .NET Standard.
-
.NETStandard 2.1
- 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 |
|---|---|---|
| 0.9.14 | 385 | 11/11/2023 |