You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -43,56 +43,6 @@ To build your component you can open the folder in Visual Studio Code and use th
43
43
> [!TIP]
44
44
> To debug your component during or after the build operation, see [Debug custom components](debugging-custom-controls.md).
45
45
46
-
## Deploy your component
47
-
48
-
Once you have built your component, you must deploy it to be used.
49
-
50
-
Follow the steps below to create and import a [solution](/powerapps/maker/common-data-service/solutions-overview) file:
51
-
52
-
1. Create a new directory and go to it:
53
-
54
-
`cd <new directory name>`
55
-
1. Create a new solution project in the directory of your choice by using the command:
56
-
57
-
`pac solution init --publisherName <enter your publisher name> --customizationPrefix <enter your publisher name>` after `cd <your new folder>`.
58
-
59
-
> [!NOTE]
60
-
> The [publisherName](https://docs.microsoft.com/en-us/powerapps/developer/common-data-service/reference/entities/publisher) and [cutomizationPrefix](https://docs.microsoft.com/en-us/powerapps/maker/common-data-service/change-solution-publisher-prefix) values must be unique to your environment.
61
-
62
-
3. Once the new solution project is created, you need to refer to the ___location where the created component is located. You can add the reference by using the following command:
63
-
64
-
`pac solution add-reference --path <path or relative path of your PowerApps component framework project on disk>`
65
-
66
-
4. To generate a zip file from your solution project, you will need to `cd` into your solution project directory and build the project using the following command:
67
-
68
-
`msbuild /t:restore` then `msbuild`
69
-
70
-
> [!NOTE]
71
-
> - If msbuild 15 is not in the path, open Developer Command Prompt for VS 2017 to run the `msbuild` commands.
72
-
> - Building the solution in the debug configuration, generates an unmanaged solution package. A managed solution package is generated by building the solution in release configuration. These settings can be overridden by specifying SolutionPackageType property in `cdsproj` file.
73
-
74
-
If you would like your project build to emit a managed solution or both managed and unmanaged, open the folder where you created your solution project, edit the `cdsproj` file and uncomment the below property group:
You can also enable additional solution packaging [capabilities](/powerapps/developer/common-data-service/compress-extract-solution-file-solutionpackager) by adding any of the property group elements below:
82
-
83
-
```XML
84
-
<PropertyGroup>
85
-
<SolutionPackageErrorLevel />
86
-
<SolutionPackageEnableLocalization />
87
-
<SolutionPackagerWorkingDirectory />
88
-
<SolutionPackageLogFilePath />
89
-
<SolutionPackageZipFilePath />
90
-
<SolutionPackageMapFilePath />
91
-
</PropertyGroup>
92
-
```
93
-
94
-
5. The generated solution zip file is located in `\bin\debug\`. You must manually [import the solution](https://docs.microsoft.com/en-us/dynamics365/customer-engagement/customize/import-update-export-solutions) using the web portal once the zip file is ready.
95
-
96
46
## Known Configuration issues and Workarounds
97
47
98
48
**Msbuild error MSB4036:**
@@ -110,8 +60,9 @@ Follow the steps below to create and import a [solution](/powerapps/maker/common
0 commit comments