Create a solution project
cs_init_solution_projectCreates a Dataverse solution project (.cdsproj) on disk, initializing source-controlled solution development with the active PAC authentication profile.
Instructions
Scaffold a Dataverse solution project (.cdsproj) on disk for source-controlled solution development. Runs 'pac solution init' with the active pac auth profile.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cwd | No | Working directory for pac (for project commands: the solution project folder) | |
| profile | No | pac auth profile to run as: the admin account for tenant commands. Defaults to CPS_ADMIN_PROFILE for admin commands and CPS_PAC_PROFILE otherwise, then the active profile. cs_init lists the profiles. | |
| background | No | Run in the background and return a jobId immediately, for a command that takes longer than the client will wait. Poll cs_job_status. | |
| publisherName | Yes | Publisher name | |
| timeoutSeconds | No | Default 600 | |
| outputDirectory | No | Output directory (default: cwd) | |
| publisherPrefix | Yes | Publisher customization prefix |