Packager Properties

MSBuild Extension Pack

Packager Properties MSBuild Extension Pack Help 4.0.12.0

The Packager type exposes the following members.

Properties

  Name Description
Public property Authors
Gets or sets a comma-separated list of authors of the package code.
Public property Code example ContentFiles
Gets or sets the Files to be included in the contents folder of the package. Files in the content folder are copied to the root of your application when the package is installed.
Public property CopyrightText
Gets or sets the Copyright text of the NuGet package.
Public property Dependencies
Gets or sets the Dependencies of the NuGet package. An Example of ItemGroup passed to this property net401.2.10
Public property Description
Gets or sets the long description of the package.
Public property Code example FrameworkAssemblies
Gets or sets the Framework Assemblies that the deployed package is dependant upon.
Public property IconUrl
Gets or sets a URL for the image to use as the icon for the package in the Manage NuGet Packages dialog box.
Public property Id
Gets or sets the Id of the NuGet package. is the package name that is shown when packages are listed using the Package Manager Console. These are also used when installing a package using the Install-Package command within the Package Manager Console. Package IDs may not contain any spaces or characters that are invalid in an URL.
Public property Language
Gets or sets the locale ID for the package, such as en-us.
Public property Code example LibraryFiles
Gets or sets the Files to be included in the lib folder of the package. Assemblies (.dll files) in the lib folder are added as assembly references when the package is installed.
Public property LicenseUrl
Gets or sets a link to the license that the package is under.
Public property NuGetExeDir
Gets or sets the directory containing the command line tool, NuGet.exe. If none is specified, will default to Resources directory of the currently executing assembly.
Public property OutputFile
Gets or sets the NuGet Output file
Public property Owners
Gets or sets a comma-separated list of the package creators.
Public property ProjectUrl
Gets or sets a URL for the home page of the package.
Public property Code example References
Gets or sets the References files or the files which are added as reference by default. The collection should only contain the names of the files and not the path.
Public property ReleaseNotes
Gets or sets the Release Notes of the NuGet package. This field only shows up when the package is an update to a previously installed package. It is displayed where the Description would normally be displayed.
Public property RequiresExplicitLicensing
Gets or sets the RequireLicense property which determines whether the NuGet package requires explicit license permissions or not. Default is false.
Public property Summary
Gets or sets the summary, a short description of the package. If specified, this shows up in the middle pane of the Add Package Dialog. If not specified, a truncated version of the description is used instead.
Public property Tags
Gets or sets the tags for the NuGet package. It should be a space-delimited list of tags.
Public property Title
Gets or sets the Title text of the NuGet package. The human-friendly title of the package displayed in the Manage NuGet Packages dialog.
Public property Code example ToolsFiles
Gets or sets the Files to be included in the tools folder of the package. The tools folder of a package is for powershell scripts and programs accessible from the Package Manager Console.
Public property Version
Gets or sets the version of the package. The version of the package, in a format like 1.2.3.
Top
See Also

Reference