
Ready2Run code is of low quality and makes the Just-In-Time compiler (JIT) trigger regularly to promote the code to a higher quality. We recommend not using it for games, because it produces micro stutters when your game is running. ReadyToRun is advertised as improving application startup time, but slightly increasing binary size. NET proposes several parameters when publishing apps that may sound helpful, but have many issues when it comes to games (because they were never meant for games in the first place, but for small lightweight applications). tar.gz format to preserve the execution permissions. app folder should appear as an executable application on macOS.įor archiving, we recommend using the.

Here's an example file with required and recommended values set: įor more information about ist files, see the documentation.Īfter completing these steps, your. The ist file is a standard macOS file containing metadata about your game. MacOS (this is where your game belongs, except for content files) YourGame.icns (this is your app icon, in ICNS format) Content (this is where all your content and XNB's should go) Application bundles are directories with the following file structure: YourGame.app (this is your root folder) We recommend you distribute your game as an application bundle. Build and packaging for macOSĭotnet publish -c Release -r osx-圆4 /p:PublishReadyToRun=false /p:TieredCompilation=false -self-contained tar.gz archiving format to preserve the execution permissions. You can then archive the content of the publish folder and distribute the archive as-is. Building and packaging for Linuxĭotnet publish -c Release -r linux-圆4 /p:PublishReadyToRun=false /p:TieredCompilation=false -self-contained If you are targeting WindowsDX, note that players will need the DirectX June 2010 runtime to be installed on their machine for audio and gamepads to work properly. You can then zip the content of the publish folder and distribute the archive as-is. Building and packaging for Windowsĭotnet publish -c Release -r win-圆4 /p:PublishReadyToRun=false /p:TieredCompilation=false -self-contained As such, your game will require absolutely no external dependencies and should run out-of-the-box as-is. To publish desktop games, it is recommended that you build your project as a self-contained. Once your game is ready to be published, it is recommended that you package it properly for consumption by players.
