NuSpecBuilder Class |
Namespace: CMS.Modules
public class NuSpecBuilder
The NuSpecBuilder type exposes the following members.
Name | Description | |
---|---|---|
![]() | NuSpecBuilder |
Initializes new NuSpecBuilder.
|
Name | Description | |
---|---|---|
![]() | MinimumClientVersion |
Gets or sets the minimum version of NuGet required when installing the package. Optional.
|
![]() | MinimumManifestVersion |
Gets or sets the minimum NuSpec manifest version. The actual version is determined
at the time of build.
Default version is 1.
|
![]() | ModulePackageMetadata |
Gets module's metadata.
|
![]() | ReadmeFilePath |
Gets or sets a relative path to the package's readme file
If null, no readme is included
|
Name | Description | |
---|---|---|
![]() | AddContent |
Adds a content to the manifest.
|
![]() | AddLibrary |
Adds a library to the manifest.
The library can be either framework specific, or not.
|
![]() | AddTools |
Adds tools to the manifest.
|
![]() | BuildToStream |
Builds NuSpec manifest to stream.
|