Mod articles
-
This guide assumes you are using Visual Studio 2022.
BepInEx Template
Follow this guide to generate a plugin template. This is basically the shell of a mod, and is fully functional by itself.
Make sure BepInEx is installed for your game.
Follow this guide until you get to the step of generating the plugin template
Run the following command to generate the plugin template
dotnet new bepinex5plugin -n MyFirstPlugin -T netstandard2.1 -U 2022.3.0NOTE
If you have .NET 8 SDK installed, you will get the error `Object reference not set to an instance of an object`
when attempting to run the above command.
To resolve this issue, follow these steps:
Ensure you have a copy of the .NET 6 or 7 SDK installed....