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
Install
dotnet add package MSBuilder.ThisAssembly.Metadata --version 0.1.4
Install-Package MSBuilder.ThisAssembly.Metadata -Version 0.1.4
<PackageReference Include="MSBuilder.ThisAssembly.Metadata" Version="0.1.4" />
Frameworks
No framework metadata available.
Dependencies
Adoption guide
A verified publisher signal is available. Assess fit from the package's supported frameworks, license and dependency graph rather than popularity alone.
NuGet marks this package as deprecated and points to ThisAssembly.Metadata as an alternative.
No SPDX license expression is published. Review the license text and your organisation's policy before redistribution.
No target framework metadata is available. Confirm compatibility in a representative project before standardising on this package.
How to read this guidance
Sources: published NuGet v3 registry metadata and explicit NuBrowse editorial guides. Refresh: package metadata is refreshed from NuGet when the page loads. Limit: this is not a security, legal or compatibility guarantee; validate the selected version in your project.
Useful next steps
Move from package metadata to a concrete selection or review workflow.