{"id":16713215,"url":"https://github.com/picrap/stitcherboy","last_synced_at":"2025-04-10T06:08:43.549Z","repository":{"id":65413657,"uuid":"44816352","full_name":"picrap/StitcherBoy","owner":"picrap","description":"Build task to weave generated assembly","archived":false,"fork":false,"pushed_at":"2025-02-12T17:11:23.000Z","size":5292,"stargazers_count":6,"open_issues_count":3,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-10T06:08:37.553Z","etag":null,"topics":["library","modify-assemblies","msbuild-task"],"latest_commit_sha":null,"homepage":null,"language":"C#","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/picrap.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-10-23T13:56:59.000Z","updated_at":"2025-02-12T17:11:27.000Z","dependencies_parsed_at":"2024-10-12T20:46:02.133Z","dependency_job_id":"020b0c5a-52a8-4fd8-9325-052894456504","html_url":"https://github.com/picrap/StitcherBoy","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/picrap%2FStitcherBoy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/picrap%2FStitcherBoy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/picrap%2FStitcherBoy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/picrap%2FStitcherBoy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/picrap","download_url":"https://codeload.github.com/picrap/StitcherBoy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248166925,"owners_count":21058481,"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":["library","modify-assemblies","msbuild-task"],"created_at":"2024-10-12T20:45:53.659Z","updated_at":"2025-04-10T06:08:43.524Z","avatar_url":"https://github.com/picrap.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# StitcherBoy\n\nThis is a simple library allowing to write MSBuild tasks to modify assemblies after build. It allows to debug tasks because they can be build as applications.\nIt uses the excellent [dnlib](https://github.com/0xd4d/dnlib) to modify assemblys.\n\nAvailable as a [NuGet package](https://www.nuget.org/packages/StitcherBoy).  \nCurrent build status: [![Build status](https://ci.appveyor.com/api/projects/status/ta68llgihfomlct9?svg=true)](https://ci.appveyor.com/project/picrap/stitcherboy).\n\n## In details\n\n### Implementing\n\nCreate a project which generates a console application.\nThen add two classes:\n- The processor:\n```csharp\npublic class MyStitcher : SingleStitcher\n{\n  protected override bool Process(ModuleDefMD moduleDef, string assemblyPath, ProjectDefinition project, string projectPath, string solutionPath)\n  {\n    // ... Play with the assembly\n  }\n}\n```\n- And the entry point:\n```csharp\npublic class MyTask : StitcherTask\u003cMyStitcher\u003e\n{\n    public static int Main(string[] args) =\u003e Run(new MyTask(), args);\n}\n```\n\n### Embedding it as MSBuild task\n\n// TODO (lazy boy)\n\n### Debugging it\n\nSimply set the following command-line parameters `ProjectPath=\u003cpathToCSProj\u003e` `SolutionPath=\u003cpathToSln\u003e`.\n\n## They use StitcherBoy\n\n- [VersionSticher](https://github.com/picrap/VersionStitcher): a task to inject version information after build, based on values injected in strings.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpicrap%2Fstitcherboy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpicrap%2Fstitcherboy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpicrap%2Fstitcherboy/lists"}