{"id":29937202,"url":"https://github.com/BepInEx/BepInEx.AssemblyPublicizer","last_synced_at":"2025-08-02T23:03:55.309Z","repository":{"id":53395966,"uuid":"521412405","full_name":"BepInEx/BepInEx.AssemblyPublicizer","owner":"BepInEx","description":null,"archived":false,"fork":false,"pushed_at":"2025-02-09T02:16:17.000Z","size":49,"stargazers_count":88,"open_issues_count":4,"forks_count":16,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-22T08:40:02.136Z","etag":null,"topics":[],"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/BepInEx.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":"2022-08-04T20:50:55.000Z","updated_at":"2025-07-19T15:44:09.000Z","dependencies_parsed_at":"2024-03-10T16:45:47.742Z","dependency_job_id":"2499a0f2-4e07-4302-8eae-200bca4aab7b","html_url":"https://github.com/BepInEx/BepInEx.AssemblyPublicizer","commit_stats":{"total_commits":31,"total_committers":5,"mean_commits":6.2,"dds":"0.16129032258064513","last_synced_commit":"3242fea740815844807a5c8b4e576b27d021f152"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/BepInEx/BepInEx.AssemblyPublicizer","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BepInEx%2FBepInEx.AssemblyPublicizer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BepInEx%2FBepInEx.AssemblyPublicizer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BepInEx%2FBepInEx.AssemblyPublicizer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BepInEx%2FBepInEx.AssemblyPublicizer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BepInEx","download_url":"https://codeload.github.com/BepInEx/BepInEx.AssemblyPublicizer/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BepInEx%2FBepInEx.AssemblyPublicizer/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268470799,"owners_count":24255391,"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","status":"online","status_checked_at":"2025-08-02T02:00:12.353Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":[],"created_at":"2025-08-02T23:01:39.099Z","updated_at":"2025-08-02T23:03:55.296Z","avatar_url":"https://github.com/BepInEx.png","language":"C#","funding_links":[],"categories":["C#"],"sub_categories":[],"readme":"# BepInEx.AssemblyPublicizer\n\n[![NuGet](https://img.shields.io/nuget/v/BepInEx.AssemblyPublicizer?label=BepInEx.AssemblyPublicizer\u0026logo=NuGet)](https://www.nuget.org/packages/BepInEx.AssemblyPublicizer)\n[![NuGet](https://img.shields.io/nuget/v/BepInEx.AssemblyPublicizer.MSBuild?label=BepInEx.AssemblyPublicizer.MSBuild\u0026logo=NuGet)](https://www.nuget.org/packages/BepInEx.AssemblyPublicizer.MSBuild)\n[![NuGet](https://img.shields.io/nuget/v/BepInEx.AssemblyPublicizer.Cli?label=BepInEx.AssemblyPublicizer.Cli\u0026logo=NuGet)](https://www.nuget.org/packages/BepInEx.AssemblyPublicizer.Cli)\n\nYet another assembly publicizer/stripper\n\n## Using\n\n### from code\n```cs\nAssemblyPublicizer.Publicize(\"./Test.dll\", \"./Test-publicized.dll\");\n```\n\n### from console\n`dotnet tool install -g BepInEx.AssemblyPublicizer.Cli`  \n`assembly-publicizer ./Test.dll` - publicizes  \n`assembly-publicizer ./Test.dll --strip` - publicizes and strips method bodies  \n`assembly-publicizer ./Test.dll --strip-only` - strips without publicizing  \n\n### from msbuild\n```xml\n\u003cItemGroup\u003e\n    \u003cPackageReference Include=\"BepInEx.AssemblyPublicizer.MSBuild\" Version=\"0.4.2\" PrivateAssets=\"all\" /\u003e\n\n    \u003c!-- Publicize directly when referencing --\u003e\n    \u003cReference Include=\".../TestProject.dll\" Publicize=\"true\" /\u003e\n    \u003cProjectReference Include=\"../TestProject/TestProject.csproj\" Publicize=\"true\" /\u003e\n    \u003cPackageReference Include=\"TestProject\" Publicize=\"true\" /\u003e\n\n    \u003c!-- Publicize by assembly name --\u003e\n    \u003cPublicize Include=\"TestProject\" /\u003e\n\u003c/ItemGroup\u003e\n```\n\nworks with both .NET (generates IgnoresAccessChecksTo attributes) and Mono (AllowUnsafeBlocks)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FBepInEx%2FBepInEx.AssemblyPublicizer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FBepInEx%2FBepInEx.AssemblyPublicizer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FBepInEx%2FBepInEx.AssemblyPublicizer/lists"}