# 1. 工程准备

## 插件开发流程

### **1. 下载示例项目工程到本地**

```
$ git clone https://github.com/MrBaoquan/IOUI_Sample.git
```

{% hint style="info" %}
&#x20;示例项目由vs2015构建，用其他版本打开可能会出现问题。
{% endhint %}

### 2. 添加新工程

> 右键解决方案添加一个新的项目

<div align="left"><img src="https://3586777586-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MX65S5GI_HD2UAOup1g%2F-MXeJIWvKfluTbndREZ-%2F-MXeQa5wsFH616oKa5a5%2Fimage.png?alt=media&#x26;token=5049d969-dc27-4fb8-8196-960f51177e29" alt=""></div>

![](https://3586777586-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MX65S5GI_HD2UAOup1g%2F-MXeJIWvKfluTbndREZ-%2F-MXeQJtY3HUvD8Qa-WZ-%2Fimage.png?alt=media\&token=762463fa-09cb-4cd3-be0c-7765601dbf84)

<div align="left"><img src="https://3586777586-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MX65S5GI_HD2UAOup1g%2F-MXeJIWvKfluTbndREZ-%2F-MXej18NzZap48kVUlQt%2Fimage.png?alt=media&#x26;token=e5b869cf-65c8-449e-9519-48a6609f1afc" alt=""></div>

### 3. 添加项目属性表,

> 属性表位置在项目根目录下**Props**文件夹

<div align="left"><img src="https://3586777586-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MX65S5GI_HD2UAOup1g%2F-MXeJIWvKfluTbndREZ-%2F-MXejKFjT55idHr-wg1Y%2Fimage.png?alt=media&#x26;token=83804133-4e0e-432c-b82f-3f5bbf8fd84b" alt=""></div>

<div align="left"><img src="https://3586777586-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MX65S5GI_HD2UAOup1g%2F-MXeJIWvKfluTbndREZ-%2F-MXel5ktv8EwRC_rTxz5%2Fimage.png?alt=media&#x26;token=17393cf2-7943-4813-9446-63c5e0879cb0" alt=""></div>

### 4. 拷贝IOUI模板到工程目录

> 模板在IOUI工程下，将其拷贝到工程目录后，然后将Source文件夹包含在项目中

<div align="left"><img src="https://3586777586-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MX65S5GI_HD2UAOup1g%2F-MXeJIWvKfluTbndREZ-%2F-MXelWNuPHX3rPRZFgjI%2Fimage.png?alt=media&#x26;token=c0ba6351-cace-491d-912a-4490a25c6e97" alt=""></div>

