BUTR internal MSBuild extensions. Injects data in SubModule.xml. Creates the final module folder for export.
Requires the ModuleName MSBuild property widely used in our BUTR stack. Should be the same as the mod's Module Id.
Requires the GameVersion MSBuild property for assembly injections, see usage.
Requires the GameFolder MSBuild property for outputting the final module folder in the game's /Modules folder. Should be the base folder path of the game.
Install the Bannerlord.BuildResources package.
- Adds
IsStable,IsBeta,IsDebugandIsReleasebased on the current Configuration string. Also addsSTABLE/BETAconstants. - If the
GameVersionMSBuild property is declared, will inject it into the final assembly asAssemblyMetadata("GameVersion", GameVersion). - If there are
ItemGroupentiesInternalsVisibleTo, will inject it into the final assembly asInternalsVisibleTo(TEXT). - If the
GameFolderMSBuild property is declared, will create the module's folder in the game's/Modulesfolder.