-
-
Notifications
You must be signed in to change notification settings - Fork 271
Building the .sln
- Ensure you have .NET 8.0 SDK installed.
- This need to be the Build App; Runtime is not sufficient.
-
Install an IDE. This example uses Visual Studio 2022.
-
Select
Git > Clone Repository
and provide the URLhttps://github.com/kwsch/SysBot.NET
.
If you already had a folder at the Path, you can delete it to clone a fresh copy or select a new folder.
-
In the top menu bar, select "SysBot.Pokemon.WinForms" as the Startup project. You can choose either "Debug" or "Release".
-
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.
-
Open the solution under Solution Explorer. Right-click on the solution and select "Rebuild Solution", or use
Build > Rebuild Solution
from the top menu.
-
The program will build to the location in the "Output" window at the bottom. Navigate to this Winforms folder to find
SysBot.exe
.
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.
-
Right click on "SysBot.Pokemon.Winforms" in the Solution Explorer and select "Publish."
-
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.
-
Save your settings and click "Publish". This should build to the folder you selected.