MSBuilder.GenerateAssemblyInfo
0.1.4
Prefix Reserved
See the version list below for details.
dotnet add package MSBuilder.GenerateAssemblyInfo --version 0.1.4
NuGet\Install-Package MSBuilder.GenerateAssemblyInfo -Version 0.1.4
<PackageReference Include="MSBuilder.GenerateAssemblyInfo" Version="0.1.4" />
paket add MSBuilder.GenerateAssemblyInfo --version 0.1.4
#r "nuget: MSBuilder.GenerateAssemblyInfo, 0.1.4"
// Install MSBuilder.GenerateAssemblyInfo as a Cake Addin #addin nuget:?package=MSBuilder.GenerateAssemblyInfo&version=0.1.4 // Install MSBuilder.GenerateAssemblyInfo as a Cake Tool #tool nuget:?package=MSBuilder.GenerateAssemblyInfo&version=0.1.4
Allows emitting arbitrary assembly attributes, compatible with SDK-style projects and classic ones.
Usage: declare @(AssemblyAttribute) items to include, such as:
<ItemGroup>
<AssemblyAttribute Include="[ATTRIBUTE_FULL_TYPENAME]" _Parameter1="[CTOR_ARG]" _ParameterN="[CTOR_ARG_N]" />
</ItemGroup>
The `_ParameterN` attributes must match the attribute constructor arguments.
Use the following properties to customize what is generated:
<ItemGroup>
<GenerateAssemblyCompanyAttribute>true|false</GenerateAssemblyCompanyAttribute>
<GenerateAssemblyConfigurationAttribute>true|false</GenerateAssemblyConfigurationAttribute>
<GenerateAssemblyCopyrightAttribute>true|false</GenerateAssemblyCopyrightAttribute>
<GenerateAssemblyDescriptionAttribute>true|false</GenerateAssemblyDescriptionAttribute>
<GenerateAssemblyFileVersionAttribute>true|false</GenerateAssemblyFileVersionAttribute>
<GenerateAssemblyInformationalVersionAttribute>true|false</GenerateAssemblyInformationalVersionAttribute>
<GenerateAssemblyProductAttribute>true|false</GenerateAssemblyProductAttribute>
<GenerateAssemblyTitleAttribute>true|false</GenerateAssemblyTitleAttribute>
<GenerateAssemblyVersionAttribute>true|false</GenerateAssemblyVersionAttribute>
<GenerateNeutralResourcesLanguageAttribute>true|false</GenerateNeutralResourcesLanguageAttribute>
</ItemGroup>
And their corresponding values
* AssemblyCompanyAttribute: $(Company)
* AssemblyConfigurationAttribute: $(Configuration)
* AssemblyCopyrightAttribute: $(Copyright)
* AssemblyDescriptionAttribute: $(Description)
* AssemblyFileVersionAttribute: $(FileVersion)
* AssemblyInformationalVersionAttribute: $(InformationalVersion)
* AssemblyProductAttribute: $(Product)
* AssemblyTitleAttribute: $(AssemblyTitle)
* AssemblyVersionAttribute: $(AssemblyVersion)
* NeutralResourcesLanguageAttribute: $(NeutralLanguage)
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
NuGet packages (3)
Showing the top 3 NuGet packages that depend on MSBuilder.GenerateAssemblyInfo:
Package | Downloads |
---|---|
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 |
|
Gherkinator.Build
Package Description |
|
Gohopo.GitVersion
Package Description |
GitHub repositories (3)
Showing the top 3 popular GitHub repositories that depend on MSBuilder.GenerateAssemblyInfo:
Repository | Stars |
---|---|
xamarin/Xamarin.Forms
Xamarin.Forms is no longer supported. Migrate your apps to .NET MAUI.
|
|
dotnet/Microsoft.Maui.Graphics
An experimental cross-platform native graphics library.
|
|
dotnet/Microsoft.Maui.Graphics.Controls
Experimental Microsoft.Maui.Graphics.Controls - Build drawn controls (Cupertino, Fluent and Material)
|