MSBuilder.ThisAssembly.Metadata
0.1.0
Prefix Reserved
Switch to a source-generator based package that is actively maintained.
See the version list below for details.
dotnet add package MSBuilder.ThisAssembly.Metadata --version 0.1.0
NuGet\Install-Package MSBuilder.ThisAssembly.Metadata -Version 0.1.0
<PackageReference Include="MSBuilder.ThisAssembly.Metadata" Version="0.1.0" />
paket add MSBuilder.ThisAssembly.Metadata --version 0.1.0
#r "nuget: MSBuilder.ThisAssembly.Metadata, 0.1.0"
// Install MSBuilder.ThisAssembly.Metadata as a Cake Addin #addin nuget:?package=MSBuilder.ThisAssembly.Metadata&version=0.1.0 // Install MSBuilder.ThisAssembly.Metadata as a Cake Tool #tool nuget:?package=MSBuilder.ThisAssembly.Metadata&version=0.1.0
Turns the assembly metadata attributes into constants for use from code, such as:
<ItemGroup>
<AssemblyAttribute Include="System.Reflection.AssemblyMetadataAttribute">
<_Parameter1>Foo</_Parameter1>
<_Parameter2>Bar</_Parameter2>
</AssemblyAttribute>
</ItemGroup>
Generates:
partial class ThisAssembly
{
public static partial class Metadata
{
public const string Foo = "Bar";
}
}
Learn more about Target Frameworks and .NET Standard.
-
- MSBuilder.GenerateAssemblyInfo (>= 0.1.1)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on MSBuilder.ThisAssembly.Metadata:
Package | Downloads |
---|---|
Gherkinator.Build
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.