{"id":18484806,"url":"https://github.com/butr/bannerlord.buildresources","last_synced_at":"2025-10-25T00:42:00.584Z","repository":{"id":38310888,"uuid":"285381065","full_name":"BUTR/Bannerlord.BuildResources","owner":"BUTR","description":"Resources for building Bannerlord modules.","archived":false,"fork":false,"pushed_at":"2024-07-02T20:38:32.000Z","size":164,"stargazers_count":7,"open_issues_count":2,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-11-03T17:43:44.535Z","etag":null,"topics":["bannerlord","bannerlord-mod","mount-and-blade-bannerlord","msbuild-sdk","tool"],"latest_commit_sha":null,"homepage":"","language":"PowerShell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BUTR.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-08-05T19:08:32.000Z","updated_at":"2024-07-02T20:38:36.000Z","dependencies_parsed_at":"2023-02-11T02:05:20.407Z","dependency_job_id":null,"html_url":"https://github.com/BUTR/Bannerlord.BuildResources","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BUTR%2FBannerlord.BuildResources","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BUTR%2FBannerlord.BuildResources/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BUTR%2FBannerlord.BuildResources/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BUTR%2FBannerlord.BuildResources/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BUTR","download_url":"https://codeload.github.com/BUTR/Bannerlord.BuildResources/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223342129,"owners_count":17129775,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bannerlord","bannerlord-mod","mount-and-blade-bannerlord","msbuild-sdk","tool"],"created_at":"2024-11-06T12:43:03.433Z","updated_at":"2025-10-25T00:41:55.564Z","avatar_url":"https://github.com/BUTR.png","language":"PowerShell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Bannerlord.BuildResources\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://www.nuget.org/packages/Bannerlord.BuildResources\" alt=\"NuGet Bannerlord.BuildResources\"\u003e\n    \u003cimg src=\"https://img.shields.io/nuget/v/Bannerlord.BuildResources.svg?label=NuGet%20Bannerlord.BuildResources\u0026colorB=blue\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://www.nuget.org/packages/Bannerlord.BUTRModule.Sdk\" alt=\"NuGet Bannerlord.BUTRModule.Sdk\"\u003e\n    \u003cimg src=\"https://img.shields.io/nuget/v/Bannerlord.BUTRModule.Sdk.svg?label=NuGet%20Bannerlord.BUTRModule.Sdk\u0026colorB=blue\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://www.nuget.org/packages/Bannerlord.DataModule.Sdk\" alt=\"NuGet Bannerlord.DataModule.Sdk\"\u003e\n    \u003cimg src=\"https://img.shields.io/nuget/v/Bannerlord.DataModule.Sdk.svg?label=NuGet%20Bannerlord.DataModule.Sdk\u0026colorB=blue\" /\u003e\n  \u003c/a\u003e\n  \u003ca href=\"https://www.nuget.org/packages/Bannerlord.Module.Sdk\" alt=\"NuGet Bannerlord.Module.Sdk\"\u003e\n    \u003cimg src=\"https://img.shields.io/nuget/v/Bannerlord.Module.Sdk.svg?label=NuGet%20Bannerlord.Module.Sdk\u0026colorB=blue\" /\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\nBUTR internal MSBuild extensions. Injects data in SubModule.xml. Creates the final module folder for export.  \n\n## Requirements\nRequires the `ModuleName` MSBuild property widely used in our BUTR stack. Should be the same as the mod's Module Id.  \nRequires the `GameVersion` MSBuild property for assembly injections, see [usage](#usage).  \nRequires 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.  \n\n## Installation\nInstall the [Bannerlord.BuildResources](https://github.com/BUTR/Bannerlord.BuildResources) package.  \n\n## Usage\n* Adds `IsStable`, `IsBeta`, `IsDebug` and `IsRelease` based on the current Configuration string. Also adds `STABLE/BETA` constants.  \n* If the `GameVersion` MSBuild property is declared, will inject it into the final assembly as `AssemblyMetadata(\"GameVersion\", GameVersion)`.  \n* If there are `ItemGroup` enties `InternalsVisibleTo`, will inject it into the final assembly as `InternalsVisibleTo(TEXT)`.  \n* If the `GameFolder` MSBuild property is declared, will create the module's folder in the game's `/Modules` folder.  \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbutr%2Fbannerlord.buildresources","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbutr%2Fbannerlord.buildresources","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbutr%2Fbannerlord.buildresources/lists"}