{"id":22882388,"url":"https://github.com/loresoft/assemblymetadata.generators","last_synced_at":"2025-05-07T04:48:16.624Z","repository":{"id":187387282,"uuid":"676754519","full_name":"loresoft/AssemblyMetadata.Generators","owner":"loresoft","description":"Source generator to expose assembly attributes as string constants.","archived":false,"fork":false,"pushed_at":"2025-05-06T08:03:21.000Z","size":230,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-06T09:23:58.226Z","etag":null,"topics":[],"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/loresoft.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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,"zenodo":null},"funding":{"github":"loresoft"}},"created_at":"2023-08-10T00:01:58.000Z","updated_at":"2025-05-06T08:03:19.000Z","dependencies_parsed_at":"2024-04-07T15:25:13.131Z","dependency_job_id":"a3e05832-1f0b-490b-9126-3a65db8c711f","html_url":"https://github.com/loresoft/AssemblyMetadata.Generators","commit_stats":null,"previous_names":["loresoft/assemblymetadata.generators"],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loresoft%2FAssemblyMetadata.Generators","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loresoft%2FAssemblyMetadata.Generators/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loresoft%2FAssemblyMetadata.Generators/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loresoft%2FAssemblyMetadata.Generators/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/loresoft","download_url":"https://codeload.github.com/loresoft/AssemblyMetadata.Generators/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252656135,"owners_count":21783614,"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-12-13T18:17:17.887Z","updated_at":"2025-05-07T04:48:16.599Z","avatar_url":"https://github.com/loresoft.png","language":"C#","readme":"# AssemblyMetadata.Generators\n\nSource generator to expose assembly attributes as string constants.\n\n[![Build status](https://github.com/loresoft/AssemblyMetadata.Generators/actions/workflows/dotnet.yml/badge.svg)](https://github.com/loresoft/AssemblyMetadata.Generators/actions)\n\n[![NuGet Version](https://img.shields.io/nuget/v/AssemblyMetadata.Generators.svg?style=flat-square)](https://www.nuget.org/packages/AssemblyMetadata.Generators/)\n\n[![Coverage Status](https://coveralls.io/repos/github/loresoft/AssemblyMetadata.Generators/badge.svg?branch=main)](https://coveralls.io/github/loresoft/AssemblyMetadata.Generators?branch=main)\n\n### Usage\n\n#### Add package\n\nAdd the nuget package project to your projects.\n\n`dotnet add package AssemblyMetadata.Generators`\n\n### Generated\n\nThis source generator creates an internal partial class called `ThisAssembly` with all the assembly level attributes converted to string constants\n\n```c#\ninternal static partial class ThisAssembly\n{\n    public const string TargetFramework = \".NETCoreApp,Version=v7.0\";\n    public const string Company = \"LoreSoft\";\n    public const string Configuration = \"Debug\";\n    public const string Copyright = \"Copyright © 2023 LoreSoft\";\n    public const string Description = \"Source generator to expose assembly attributes as string constants\";\n    public const string FileVersion = \"1.0.0.0\";\n    public const string InformationalVersion = \"1.0.0\";\n    public const string Product = \"AssemblyMetadata.Generators.Tests\";\n    public const string Title = \"AssemblyMetadata.Generators.Tests\";\n    public const string Version = \"1.0.0.0\";\n    public const string RepositoryUrl = \"https://github.com/loresoft/AssemblyMetadata.Generators\";\n    public const string NeutralResourcesLanguage = \"en-US\";\n}\n```\n\n### Namespace\n\nSet the `ThisAssemblyNamespace` MSBuild property to set the namespace of the generated `ThisAssembly` class. Otherwise, it will be in the global namespace.\n\nPut `ThisAssembly` in the projects root namespace.\n\n```xml\n\u003cPropertyGroup\u003e\n  \u003cThisAssemblyNamespace\u003e$(RootNamespace)\u003c/ThisAssemblyNamespace\u003e\n\u003c/PropertyGroup\u003e\n```\n","funding_links":["https://github.com/sponsors/loresoft"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Floresoft%2Fassemblymetadata.generators","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Floresoft%2Fassemblymetadata.generators","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Floresoft%2Fassemblymetadata.generators/lists"}