Ecosyste.ms: Packages

An open API service providing package, version and dependency metadata of many open source software ecosystems and registries.

nuget.org : msbuilder.thisassembly.metadata

This package extends MSBuilder.GenerateAssemblyInfo to also generate a static `ThisAssembly.Metadata` class with the `@(AssemblyAttribute)` attributes that have `Include="System.Reflection.AssemblyMetadataAttribute"`. So for an attribute like: [assembly: System.Reflection.AssemblyMetadataAttribute("Foo", "Bar")] You get a corresponding `ThisAssembly.Metadata.Foo` constant with the value `Bar`. Example: <ItemGroup> <AssemblyAttribute Include="System.Reflection.AssemblyMetadataAttribute"> <_Parameter1>Foo</_Parameter1> <_Parameter2>Bar</_Parameter2> </AssemblyAttribute> </ItemGroup> Generates (C#): partial class ThisAssembly { public static partial class Metadata { public const string Foo = "Bar"; } } or (VB): Namespace Global Partial Class ThisAssembly Partial Class Metadata Public Const Foo = "Bar" End Class End Class End Namespace

Registry - Homepage - JSON
purl: pkg:nuget/msbuilder.thisassembly.metadata
Keywords: msbuild, project, assembly, metadata
License:
Latest release: over 5 years ago
First release: about 6 years ago
Downloads: 13,119 total
Last synced: 21 days ago

    Loading...
    Readme
    Loading...