ThisAssembly.Metadata 0.10.6

This package generates a static `ThisAssembly.Metadata` class with public
constants exposing each `[System.Reflection.AssemblyMetadata(..)]` defined for the project,
such as when using .NET 5.0+ support for `AssemblyMetadata` MSBuild items.

So for an attribute like:

 [assembly: System.Reflection.AssemblyMetadataAttribute("Foo", "Bar")]

A corresponding `ThisAssembly.Metadata.Foo` constant with the value `Bar` is provided.
The metadata attribute can alternatively be declared using MSBuild in the project
(for .NET 5.0+ projects):

   <ItemGroup>
     <AssemblyMetadata Include="Foo" Value="Bar" />
   </ItemGroup>

Generated code:
C#:

 partial class ThisAssembly
 {
     public static partial class Metadata
     {
         public const string Foo = "Bar";
     }
 }

VB:

 Namespace Global
   Partial Class ThisAssembly
         Partial Class Metadata
             Public Const Foo = "Bar"
         End Class
     End Class
 End Namespace

F#:

 module internal ThisAssembly

 module public Metadata =
     [<Literal>]
     let public Foo = @"Bar"



Built from https://github.com/kzu/ThisAssembly/tree/012f87bfd

There is a newer prerelease version of this package available.
See the version list below for details.
Install-Package ThisAssembly.Metadata -Version 0.10.6
dotnet add package ThisAssembly.Metadata --version 0.10.6
<PackageReference Include="ThisAssembly.Metadata" Version="0.10.6" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ThisAssembly.Metadata --version 0.10.6
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on ThisAssembly.Metadata:

Package Downloads
ThisAssembly
Meta-package that includes all ThisAssembly.* packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.0.0-beta 508 10/15/2020
1.0.0-alpha.3 178 10/8/2020
1.0.0-alpha.2 56 10/8/2020
1.0.0-alpha.1 57 10/8/2020
1.0.0-alpha 161 10/3/2020
0.10.6 248 9/22/2020
0.10.5 36 9/21/2020
Show less