Distribute a game
When you’re ready to publish your game, create a release build from Visual Studio, then distribute it.
1. Create a release build
- MyGame/Bin/MyPlatform/Release/), delete the Data folder. This folder might contain unnecessary files, such as old versions of assets, so it’s simplest to build it again from scratch.
- Open your project in Game Studio.
- Visual Studio. Your project opens in Visual Studio.
- Solution Configurations drop-down menu, select Release.
- Solution platforms drop-down menu, select the platform you want to create a build for.
Note
Add or remove a platform. this MSDN page. - Build, select Build solution.
MyGame/Bin/MyPlatform/Release).
Tip
Release folder to something more descriptive (such as the title of your game).2. Delete unnecessary files
MyGame/Bin/MyPlatform/Release), you can delete the following unnecessary files: .pdbfiles (debug information).xmlfiles (API documentation)vshostin their filenames (egMyGame.vshost.exeandMyGame5.vshost.exe.manifest)x64,x86, ordatafolders- other unnecessary files, such as custom configuration files (ie files not created with Xenko)
3. Distribute your game
After you create a release build, how you distribute it is up to you. To run games made with Xenko on Windows, users need: - .NET 4.6.1
- DirectX11 (included with Windows 10 and later), OpenGL, or Vulkan
- Visual C++ 2015 runtimes (x86 and/or x64, depending on what you set in your project properties in Visual Studio)
See also
- Add or remove a platform
- Version control
- Project structure
