generated from LethalCompanyCommunity/LethalCompanyTemplate
-
Notifications
You must be signed in to change notification settings - Fork 9
03 ‐ Build
Distractic edited this page Jan 19, 2024
·
1 revision
Command to build the project:
dotnet buildYour plugin is now compiled to a DLL file in the Template/bin with the name Template.dll.
By default, when the project is built, the following steps are executed:
- The plugin's DLL is copied to the game plugin directory.
- The opened clients are closed.
- The game is launched.
The steps are defined in the Template.csproj file.
Check the configuration section for the available variables to modify the build steps.
Examples:
- Build without starting the game:
dotnet build -p:StartGame=false- Build and start 2 instances of the game:
dotnet build -p:StartGame=true -p:NumberOfClients=2