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
Activity
- Latest release
- 7y ago
- Total releases
- 5
- Cadence
- ~8 days
- Last 12 months
- 0
Details
- First release
- Mar 27, 2018
| Version | Released | |
|---|---|---|
0.1.4
patch
| ||
0.1.3
patch
| ||
0.1.2
patch
| ||
0.1.1
patch
| ||
0.1.0
initial
|