Package Builder export tool allows more finite control over the creation of Kentico module installation packages with command-line support for continuous integration environments.
Comprehensive documentation of advanced topics and examples are available through the Package Builder Wiki.
- Command-line Interface
- NuSpec Manifests
- Property Tokens
- Adding Additional Files
- Metadata Overrides
- Alternate Output Directory
- Versioning by Assembly Attribute
Package Builder are available for download from the NuGet Gallery or installed by any supported NuGet client tool. The package must be installed to an existing Kentico
web application project.
Installing on Kentico 9.0
Package Builder for Kentico 9, run the following command in the Package Manager Console
PM> Install-Package Ntara.Kentico-9.0.PackageBuilder
Installing on Kentico 10.0
Package Builder for Kentico 10, run the following command in the Package Manager Console
PM> Install-Package Ntara.Kentico-10.0.PackageBuilder
Installing on Kentico 11.0
Package Builder for Kentico 11, run the following command in the Package Manager Console
PM> Install-Package Ntara.Kentico-11.0.PackageBuilder
Creating Kentico Modules
It is critical that developers observe Kentico best practices when packaging modules for distribution. These patterns are thoroughly documented by Kentico and available online:
Kentico 9 Resources
Kentico 10 Resources
Kentico 11 Resources
Creating Module Packages
PackageBuilder.exeapplication must execute from the
bindirectory of a valid Kentico CMS installation. This allows the native module export to include all database objects, libraries, and file dependencies related to the specified module instance.
The -module command is the only required command-line argument. The following command will produce a NuGet (.nupkg) package identical to one produced by clicking the Create installation package button.
In this example, the package
Acme.Module_1.0.0.nupkg will be written to the website
Source code is made available under terms of the MIT license.