Skip to content

Commit 2c83871

Browse files
committed
pac plugin commands don't belong here
1 parent f1caaf3 commit 2c83871

File tree

1 file changed

+0
-31
lines changed

1 file changed

+0
-31
lines changed

powerapps-docs/developer/component-framework/import-custom-controls.md

Lines changed: 0 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -103,37 +103,6 @@ To use the `push` capability, do the following:
103103
> [!NOTE]
104104
> The publisher prefix that you use with the `push` command should match the publisher prefix of your solution in which the components will be included.
105105
106-
## Create a plug-in project and add a reference to it in your solution
107-
108-
> [!NOTE]
109-
> The plugin command is in public preview and
110-
Microsoft Power Platform CLI now supports creating a plug-in project and packaging it in a solution by adding a reference to the plug-in project. The [pac plugin init](/power-platform/developer/cli/reference/plugin) command creates the template files (csproj, Plugin.cs & ServiceHelper.cs) in the directory. To do so:
111-
112-
1. Ensure that you have a valid authentication profile created.
113-
2. Navigate to the root directory where you want the project to be created.
114-
3. Run the [pac auth create](/power-platform/developer/cli/reference/auth) command:
115-
116-
```CLI
117-
pac auth create –url <https://xyz.crm.dynamics.com>
118-
```
119-
4. Run the [pac plugin init](/power-platform/developer/cli/reference/plugin) command to create the plug-in project
120-
121-
```CLI
122-
pac plugin init
123-
```
124-
125-
5. Add a reference to your solution project using the [pac solution add-reference](/power-platform/developer/cli/reference/solution) command so that the plug-in project gets built when the solution is built.
126-
127-
```CLI
128-
pac solution add-reference –path <path to your plugin project>
129-
```
130-
131-
6. Run the command to build the solution and the referenced plug-in.
132-
133-
```CLI
134-
msbuild
135-
```
136-
137106
## Remove components from a solution
138107

139108
If you want to remove a code component from a solution file:

0 commit comments

Comments
 (0)