Create a new Module
- Based on Lesser Scholar's Tutorial #1
- Using BUTR / Bannerlord.Module.Template
Install the template
In PowerShell run:
dotnet new --install Bannerlord.Templates
Set Environment Variable
Create a Module
In PowerShell:
cd YOUR_FOLDER_WHERE_YOU_KEEP_ALL_YOUR_MODS
dotnet new blmodfx --name "YOUR_MOD_NAME_HERE"
Open in the Visual Studio
Go to newly created module's folder and press on .csproj file
If Breakpoints and Hot Reload does not work
The breakpoint will not currently be hit. No symbols have been loaded for this document.
To fix in the .csproj file change line:
to