9. 0. PackageBuilder
dotnet add package Ntara.Kentico-9.0.PackageBuilder --version 1.0.0
NuGet\Install-Package Ntara.Kentico-9.0.PackageBuilder -Version 1.0.0
<PackageReference Include="Ntara.Kentico-9.0.PackageBuilder" Version="1.0.0" />
paket add Ntara.Kentico-9.0.PackageBuilder --version 1.0.0
#r "nuget: Ntara.Kentico-9.0.PackageBuilder, 1.0.0"
// Install Ntara.Kentico-9.0.PackageBuilder as a Cake Addin #addin nuget:?package=Ntara.Kentico-9.0.PackageBuilder&version=1.0.0 // Install Ntara.Kentico-9.0.PackageBuilder as a Cake Tool #tool nuget:?package=Ntara.Kentico-9.0.PackageBuilder&version=1.0.0
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
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
- Creating Custom Modules
- Creating a Packageable Module (Recommended)
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.
|Product||Versions Compatible and additional computed target framework versions.|
|.NET Framework||net45 is compatible. net451 was computed. net452 was computed. net46 is compatible. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed.|
This package has no dependencies.
This package is not used by any NuGet packages.
This package is not used by any popular GitHub repositories.