GameBundle 1.6.0

dotnet tool install --global GameBundle --version 1.6.0                
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest # if you are setting up this repo
dotnet tool install --local GameBundle --version 1.6.0                
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=GameBundle&version=1.6.0                
nuke :add-package GameBundle --version 1.6.0                

The GameBundle logo

GameBundle is a tool to package MonoGame and other .NET Core applications into several distributable formats.

Installing

GameBundle is a dotnet tool, meaning you can install it very easily like so:

dotnet tool install --global GameBundle

Using

By default, GameBundle builds the .csproj file that it finds in the directory that it is run from. The bundled outputs go into bin/Bundled by default.

To build and bundle your app for Windows, Linux and Mac, all you have to do is run the following command from the directory that contains your project file:

gamebundle -wlm

GameBundle will then build a self-contained release of your application for each system using dotnet publish and clean up the output directory using NetCoreBeauty by moving most of the libraries into a Lib subdirectory.

Building a MonoGame Project

If you're building a MonoGame project using MonoGame's DesktopGL version 3.8.2.1105 or later, you can additionally supply the --mg argument to automatically exclude MonoGame's native libraries from being moved into the Lib subdirectory, which is a requirement for your game to run.

Configuring

GameBundle takes several optional arguments to modify the way it works. To see a list of all possible arguments, simply run

gamebundle --help

Future features

In the future, GameBundle plans to include the following features:

  • An option to create a .app folder for Mac Implemented in 1.1.1
  • An option to create an installer for Windows
  • An option to create a flatpak (or similar) installer for Linux
Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last updated
1.6.0 1,358 8/31/2024
1.5.4 4,773 5/22/2023
1.5.3 1,579 2/5/2023
1.5.2 1,591 8/17/2022
1.5.1 1,600 8/17/2022
1.5.0 1,603 2/5/2022
1.4.0 1,510 10/18/2021
1.3.3 1,563 10/17/2021
1.3.2 1,535 10/16/2021
1.3.1 1,747 1/28/2021
1.3.0 1,578 10/12/2020
1.2.2 1,754 8/31/2020
1.2.1 1,797 5/5/2020
1.2.0 1,736 4/24/2020
1.1.1 1,669 4/23/2020
1.1.0 1,801 4/10/2020
1.0.0 1,790 4/9/2020