Click or drag to resize
NuSpecBuilder Class
Builder class for a NuSpec manifest. Allows for configuration of a NuSpec manifest which can be used for NuGet package creation.
Inheritance Hierarchy
SystemObject
  CMS.ModulesNuSpecBuilder

Namespace: CMS.Modules
Assembly: CMS.Modules (in CMS.Modules.dll) Version: 11.0.0
Syntax
C#
public class NuSpecBuilder

The NuSpecBuilder type exposes the following members.

Constructors
  NameDescription
Public methodNuSpecBuilder
Initializes new NuSpecBuilder.
Top
Properties
  NameDescription
Public propertyMinimumClientVersion
Gets or sets the minimum version of NuGet required when installing the package. Optional.
Public propertyMinimumManifestVersion
Gets or sets the minimum NuSpec manifest version. The actual version is determined at the time of build. Default version is 1.
Public propertyModulePackageMetadata
Gets module's metadata.
Public propertyReadmeFilePath
Gets or sets a relative path to the package's readme file If null, no readme is included
Top
Methods
  NameDescription
Public methodAddContent
Adds a content to the manifest.
Public methodAddLibrary
Adds a library to the manifest. The library can be either framework specific, or not.
Public methodAddTools
Adds tools to the manifest.
Public methodBuildToStream
Builds NuSpec manifest to stream.
Top
Remarks
http://docs.nuget.org/docs/reference/nuspec-reference
See Also