-
Notifications
You must be signed in to change notification settings - Fork 27
Attributes
Bleddyn Richards edited this page Nov 16, 2020
·
3 revisions
The tables below lists all attributes each tasks is configured to replace.
Name | Attribute | Description |
---|---|---|
Generate NuGet package on build | GeneratePackageOnBuild | A Boolean value that specifies whether the a NuGet package (.nupkg) is generated on build. |
Require license acceptance | PackageRequireLicenseAcceptance | A Boolean value that specifies whether the client must prompt the consumer to accept the package license before installing the package. |
Package Id | PackageId | Specifies the name for the resulting package. |
Authors | Authors | A semicolon-separated list of packages authors, matching the profile names on nuget.org. |
Company | Company | Provides the company name for the assembly. |
Product | Product | Provides the product information for the assembly. |
Description | Description | Provides a short description that summarizes the nature and purpose of the assembly. |
Copyright | Copyright | Provide the assembly or product copyright information. |
License File | PackageLicenseFile | Path to a license file within the package if you are using a license that hasn’t been assigned an SPDX identifier, or it is a custom license (Otherwise PackageLicenseExpression is preferred) |
License Expression | PackageLicenseExpression | An SPDX license identifier or expression. For example, Apache-2.0 . |
Project Url | PackageProjectUrl | A URL for the package's home page, often shown in UI displays as well as nuget.org. |
Icon | PackageIcon | A path to an image in the package to use as a package icon. Read more about icon metadata. |
Repository Url | RepositoryUrl | Specifies the URL for the repository where the source code for the package resides and/or from which it's being built. |
Repository type | RepositoryType | Specifies the type of the repository. |
Tags | PackageTags | A semicolon-delimited list of tags that designates the package. |
Release notes | PackageReleaseNotes | Release notes for the package. |
Assembly neutral language | NeutralLanguage | Informs the resource manager of an app's default culture. |
Assembly version | AssemblyVersion | Provides a assembly version for the application. |
Assembly file version | FileVersion | Provides a file version for the application. |
Informational version | InformationalVersion | Provides a text version for the application. |
Package version | Version | Specifies the version that the resulting package will have. |
For more information regarding Net Core assembly attributes please see the following Microsoft Doc
Name | Attribute | Description |
---|---|---|
Title | AssemblyTitle | Provides a friendly name for the assembly. |
Product | AssemblyProduct | Provides the product information for the assembly. |
Description | AssemblyDescription | Provides a short description that summarizes the nature and purpose of the assembly. |
Company | AssemblyCompany | Provides the company name for the assembly. |
Copyright | AssemblyCopyright | Provide the assembly or product copyright information. |
Trademark | AssemblyTrademark | Provides the assembly or product trademark information. |
Culture | AssemblyCulture | Provides information on what culture the assembly supports. |
Configuration | AssemblyConfiguration | Provides the build configuration for the assembly, such as debug or release. |
Assembly version | AssemblyVersion | Provides a assembly version for the application. |
Assembly file version | AssemblyFileVersion | Provides a file version for the application. |
Informational version | AssemblyInformationalVersion | Provides a text version for the application. |
For more information regarding Net Framework assembly attributes please see the following Microsoft Doc