withProjectDependencies

Method
📦 CommunityToolkit.Aspire.Hosting.Perl v13.6.1
interface PerlAppResource {
// ... omitted for brevity
withProjectDependencies(cartonDeployment?: boolean): PerlAppResource;
}

Signature

methodwithProjectDependenciesbuilder
Configures project-level dependency installation for the Perl application. Runs the appropriate install command based on the active package manager: - - If the active package manager is `cpan` (the default), it is automatically switched to `cpanm` since `cpan` does not support `--installdeps`.
withProjectDependencies(cartonDeployment?: boolean): PerlAppResource
cartonDeploymentbooleanoptional= FalseIf `true` and using Carton, adds `--deployment` for reproducible installs from `cpanfile.snapshot`. Ignored for other package managers.
PerlAppResource

Applies to

This method applies to the following types: