Building SysBot.NET

A short guide on how to compile SysBot.NET using Visual Studio 2026.

This guide walks you through compiling any SysBot.NET application from source code, whether it comes from the main repository or a fork or branch. For this walkthrough, we'll be using the popular SysBot.NET fork by Lusamine, specifically the Moarencounterbots branch. You'll learn how to clone the repository, switch to the desired branch, and compile the application so it's ready for use.

Getting Started
Tools and Applications

When installing Visual Studio 2026 for the first time you will be prompted to select the workload components you would like to install alongside the main program, it is recommended to select .NET desktop development at this stage, you can then install the application.

After installing VS2026, download the .NET 10 SDK and run through all of the setup instructions until complete. Once everything have been properly installed it is recommended to restart your device or you may run into issues later down the line.


Figure 1 - Cloning The Repository

moarencounterbots-1

Cloning the Repository
Step-by-step
  1. Open a new instance of Visual Studio and open the GitHub repository you would like to clone inside your browser.
  2. On the repository page, click the green Code button to reveal the dropdown menu.
  3. Copy the .git link to clipboard, then revisit the Visual Studio window.
  4. Click Clone a repository in the table on the right, then click GitHub.
  5. Paste the repository link into the field and select a path, this must be an entirely fresh folder on your machine.
  6. Click Clone and wait for a new window to open.

After the repository has been successfully cloned, you should now be seeing something similar to this image. Selecting Solution Explorer on the bottom right of the Visual Studio window will present a list of program files on the right-hand side.


Figure 2 - Switching Branches

moarencounterbots-2

Switching Branches
Step-by-step
  1. With the repository open in Visual Studio, click Master at the bottom right-hand side of the window.
  2. Click Remotes to see a full list of remote branches for the repository.
  3. Click moarencounterbots and wait for Visual Studio to switch the branch.
  4. You should now see moarencounterbots at the bottom right-hand side of the window instead.

See the above image for an example of what your Visual Studio window should look like after switching branches. Switching branches is sometimes not necessary depending on the project you are working on.


Figure 3 - Building The Application

moarencounterbots-3

Building the Application
Step-by-step
  1. In the top menu bar, select Release, then select AnyCPU, then set SysBot.Pokemon.WinForms as the Startup project.
    • We select Release because this is targeted towards production or distribution. Debug builds are more geared towards developers wishing to troubleshoot their code or project.
  2. In the menu at the top of the Visual Studio window select Build, then click Re-build Solution
  3. Wait for the program to finish building. You can find the compiled application inside of the Sysbot.NET/SysBot.Pokemon.WinForms/bin/x64 directory.

Using this method will produce multiple files inside your Release folder. If you wish to publish the SysBot.NET.exe as a single file, essentially combining all of the files together into a singular application continue reading below.


Figure 4 - Publishing Application As Single File

moarencounterbots-4

Single File Publishing (Optional)
Step-by-step
  1. In the top menu bar, select Release, then select AnyCPU, then set SysBot.Pokemon.WinForms as the Startup project.
    • We select Release because this is targeted towards production or distribution. Debug builds are more geared towards developers wishing to troubleshoot their code or project.
  2. Right click SysBot.Pokemon.WinForms in the solution manager, then click Publish
  3. Click on Show all settings and ensure that your configuration uses an x64 profile under Target Runtime.
  4. Select a target location, and check Produce Single File.
  5. Save your settings and click Publish, then wait for the program to finish building.
  6. You can find the compiled application inside of the Sysbot.NET/SysBot.Pokemon.WinForms/bin/x64 directory.