{"id":15633636,"url":"https://github.com/aelij/ignoresaccesscheckstogenerator","last_synced_at":"2025-11-09T13:05:26.030Z","repository":{"id":23003420,"uuid":"97919487","full_name":"aelij/IgnoresAccessChecksToGenerator","owner":"aelij","description":"Generates reference assemblies where all the internal types \u0026 members become public, and applies the IgnoresAccessChecksTo attribute","archived":false,"fork":false,"pushed_at":"2024-12-03T13:38:36.000Z","size":50,"stargazers_count":180,"open_issues_count":0,"forks_count":21,"subscribers_count":11,"default_branch":"main","last_synced_at":"2025-04-04T12:17:17.802Z","etag":null,"topics":["msbuild-task","netstandard"],"latest_commit_sha":null,"homepage":"","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/aelij.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":"2017-07-21T07:29:52.000Z","updated_at":"2025-03-19T08:49:57.000Z","dependencies_parsed_at":"2024-01-31T16:17:46.587Z","dependency_job_id":"092574d4-57fe-40b7-9800-20d0833efd15","html_url":"https://github.com/aelij/IgnoresAccessChecksToGenerator","commit_stats":{"total_commits":25,"total_committers":8,"mean_commits":3.125,"dds":0.56,"last_synced_commit":"a47ca91146e8213b5e46f4f94aee3b8b87365597"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aelij%2FIgnoresAccessChecksToGenerator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aelij%2FIgnoresAccessChecksToGenerator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aelij%2FIgnoresAccessChecksToGenerator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aelij%2FIgnoresAccessChecksToGenerator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aelij","download_url":"https://codeload.github.com/aelij/IgnoresAccessChecksToGenerator/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247182389,"owners_count":20897381,"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":["msbuild-task","netstandard"],"created_at":"2024-10-03T10:49:46.392Z","updated_at":"2025-11-09T13:05:25.995Z","avatar_url":"https://github.com/aelij.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# IgnoresAccessChecksTo Generator (MSBuild)\n\n[![NuGet](https://img.shields.io/nuget/v/IgnoresAccessChecksToGenerator.svg?style=flat-square)](https://www.nuget.org/packages/IgnoresAccessChecksToGenerator)\n\nThe `IgnoresAccessChecksToAttribute` is the reverse of the `InternalsVisibleToAttribute` - it allows an assembly to declare assemblies whose internals would be visible to it. The attribute class isn't declared in the BCL but is recognized by the CLR (Desktop \u003e= 4.6 and Core), i.e. you can declare it in your code and it would work.\n\nSince there's currently no compiler support for this attribute (I've [submitted a PR](https://github.com/dotnet/roslyn/pull/20870) to Roslyn), this package can be used as a workaround. It **generates reference assemblies where all the internal types \u0026 members become public**, and adds a C# file with the attribute and its instances.\n\n## Usage\n\nJust add the package and define `IgnoresAccessChecksTo` items with the assemblies you need access to.\n\n```xml\n\u003cProject Sdk=\"Microsoft.NET.Sdk\"\u003e\n\n  \u003cItemGroup\u003e\n    \u003cIgnoresAccessChecksTo Include=\"AssemblyToGrantAccessTo1\" /\u003e\n    \u003cIgnoresAccessChecksTo Include=\"AssemblyToGrantAccessTo2\" /\u003e\n    \u003cIgnoresAccessChecksToExcludeTypeName Include=\"Namespace.TypeName\" /\u003e\n  \u003c/ItemGroup\u003e\n\n  \u003cItemGroup\u003e\n    \u003cPackageReference Include=\"IgnoresAccessChecksToGenerator\" Version=\"0.8.0\" PrivateAssets=\"All\" /\u003e\n  \u003c/ItemGroup\u003e\n\n\u003c/Project\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faelij%2Fignoresaccesscheckstogenerator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faelij%2Fignoresaccesscheckstogenerator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faelij%2Fignoresaccesscheckstogenerator/lists"}