{"id":20333359,"url":"https://github.com/bepinex/bepinex.assemblypublicizer","last_synced_at":"2025-10-26T12:15:05.637Z","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":77,"open_issues_count":3,"forks_count":13,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-24T09:04:27.829Z","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-03-14T23:31:31.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,"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","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246450408,"owners_count":20779406,"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":[],"created_at":"2024-11-14T20:31:02.009Z","updated_at":"2025-10-26T12:15:05.527Z","avatar_url":"https://github.com/BepInEx.png","language":"C#","funding_links":[],"categories":[],"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"}