Building the .sln - kwsch/SysBot.NET GitHub Wiki

Building SysBot.Pokemon

Before Building

  • Ensure you have .NET 8.0 SDK installed.
  • This need to be the Build App; Runtime is not sufficient.

Building Instructions

  1. Install an IDE. This example uses Visual Studio 2022.

  2. Select Git > Clone Repository and provide the URL https://github.com/kwsch/SysBot.NET.
    image
    If you already had a folder at the Path, you can delete it to clone a fresh copy or select a new folder.
    image

  3. In the top menu bar, select "x64." Then select "SysBot.Pokemon.WinForms" as the Startup project. You can choose either "Debug" or "Release".
    image

  4. If there have been new changes since you cloned the repository, you can get them by selecting Git > Pull. This assumes you haven't made any changes.
    image

  5. Open the solution under Solution Explorer. Right-click on the solution and select "Rebuild Solution", or use Build > Rebuild Solution from the top menu.
    image image

  6. The program will build to the location in the "Output" window at the bottom. Navigate to this Winforms folder to find SysBot.exe.
    image

Building as a Single File

Optionally, you can build locally as a single file. This will not allow you to add extra DLLs in the same folder, so ensure you have added PKHeX Core to the NuGet folder and any dependencies in the solution prior to publishing.

  1. Right click on "SysBot.Pokemon.Winforms" in the Solution Explorer and select "Publish."
    image

  2. Click on "Show All Settings" and ensure that your configuration uses an x64 profile (Release or Debug are both fine). Select a target location, and check "Produce Single File". Your settings should look like this.
    image

  3. Save your settings and click "Publish". This should build to the folder you selected.