
Explanation
Graphical user interface, text, application Description automatically generated

Step 1: Add your files to the project
In the Solutions Explorer pane, add your solutions and files under the PkgFolder folder.
For each file that you add under the PkgFolder folder, in the Properties pane, set the Copy to Output Directory value to Copy Always. This ensures that your file is available in the generated package.
Step 2: Define the solution and data files in ImportConfig.xml
Define the package configuration by adding information about your package in the ImportConfig.xml file available in the PkgFolder.
Step 3: Build the package
Step: Run the Package Deployer tool
After you create a package, you can deploy it on the Dataverse instance by using either the Package Deployer tool or Windows PowerShell.
Reference:
https://docs.microsoft.com/en-us/power-platform/alm/package-deployer-tool