Skip to content

Create a new Module

Install the template

In PowerShell run:

dotnet new --install Bannerlord.Templates

Set Environment Variable

Create a Module

In PowerShell:

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: