InfinitespaceStudios.MonoGame.Packaging
0.0.8-alpha
See the version list below for details.
dotnet add package InfinitespaceStudios.MonoGame.Packaging --version 0.0.8-alpha
NuGet\Install-Package InfinitespaceStudios.MonoGame.Packaging -Version 0.0.8-alpha
<PackageReference Include="InfinitespaceStudios.MonoGame.Packaging" Version="0.0.8-alpha" />
paket add InfinitespaceStudios.MonoGame.Packaging --version 0.0.8-alpha
#r "nuget: InfinitespaceStudios.MonoGame.Packaging, 0.0.8-alpha"
// Install InfinitespaceStudios.MonoGame.Packaging as a Cake Addin #addin nuget:?package=InfinitespaceStudios.MonoGame.Packaging&version=0.0.8-alpha&prerelease // Install InfinitespaceStudios.MonoGame.Packaging as a Cake Tool #tool nuget:?package=InfinitespaceStudios.MonoGame.Packaging&version=0.0.8-alpha&prerelease
PackageCreator
Usage
Add the Nuget package InfinitespaceStudios.MonoGame.Packaging to your DesktopGL project.
Build the app as normal in Release mode.
Use the following to create a Mac Package
msbuild <project> /p:Configuration=Release /t:BuildGamePackages /p:PackageTargetPlatforms=MacOS
This will produce an .app package in the $(OutputDir). Note you should run this command in the same directory as the csproj for your DesktopGL project. This will make sure the correct paths are used.
Available Targest
BuildGamePackages - Builds a number of Game paackages based on the value of
PackageTargetPlatforms
.SignGamePackages - This is for
MacOS
only. It will sign the .app package with the code signing certificate defined byPackageCodeSignCertificate
. It will also produce a .pkg file and sign that using thePackageInstallerCertificate
.
Available Properties
PackageTargetPlatforms - Controls which packages are created. Valid values are
MacOS
,Linux
,Steam
,Windows
,ItchIo
.PackageIcon - The Icon to use for the package. It should be a decent resolution. This will be used as a basis for your
MacOS
app icon. Defaults to$(MSBuildProjectDirectory)\Icon.png
if it exists.PackageName - The name of the Final package. For example
Foo.app
orFoo.exe
. Defaults to$(AssemblyName)
.PackageDisplayName - The Dispay Name for the package. This is mostly for
MacOS
. Use this if you want to app name to be different from your Exe Name. For example For a exe called FooBar.exe you might want a Display Name of "Foo Bar!". Defaults to$(PackageName)
.PackageId - The ID for the package. Again mostly for
MacOS
Defaults tocom.yourdomain.$(PackageName)
.PackageCopyright - Your copyright detalts. Defaults to
Copyright © You This Year
.ContentDirectory - The location to pick up the built content. Defaults to
$(OutputPath)Content
.OutputDirectory - The output path for the final packages. Defaults to
$(OutputPath)
.PackageSourceDirectory - The location to pick up the binaries for the package. Note it will only pick up the files in the directory. Sub directories will be ignored. If you have additional files make use of the
PackageAdditionalAssemblies
property. Defaults to$(OutputPath)
.
Advanced Properties
IncludeMcsInPackage - Controls if a mkbundled version of
mcs
(C# compiler) is included in the app packages. This only applies to Unix based packages. This should only be used if you find you need the compiler when deserializing data from disk.PackageAdditionalAssemblies - Allows you to speficy additional assemblies to include into the final package.
PackageInstallerCertificate - The name of the Installer Certificate to use to sign the .pkg installer package.
PackageCodeSignCertificate - The name of the Code Signing Certificate to use to sign the .app bundle.
PackageCustomInfoPlist - Allows the developer too provide there own
Info.plist
forMacOS
packaging. If not provided a default one will be created.
Learn more about Target Frameworks and .NET Standard.
This package has 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.1.10-alpha | 1,667 | 7/27/2018 |
0.1.9-alpha | 711 | 7/25/2018 |
0.1.8-alpha | 709 | 7/25/2018 |
0.1.7-alpha | 733 | 7/24/2018 |
0.1.6-alpha | 734 | 7/23/2018 |
0.1.5-alpha | 738 | 7/23/2018 |
0.1.4-alpha | 673 | 7/23/2018 |
0.1.3-alpha | 667 | 7/23/2018 |
0.1.2-alpha | 846 | 7/18/2018 |
0.1.1-alpha | 731 | 6/20/2018 |
0.1.0-alpha | 850 | 6/20/2018 |
0.0.9-alpha | 791 | 6/20/2018 |
0.0.8-alpha | 822 | 5/15/2018 |
0.0.7-alpha | 875 | 2/13/2018 |
0.0.6-alpha | 794 | 10/20/2017 |
0.0.5-alpha | 830 | 10/18/2017 |
0.0.4-alpha | 877 | 10/18/2017 |
0.0.3-alpha | 873 | 10/18/2017 |
0.0.2-alpha | 903 | 2/26/2017 |
0.0.1-alpha | 924 | 2/25/2017 |