All Tutorials / DJ Sures / How To Make An EZ-Builder Plugin

How To Make An EZ-Builder Plugin

3. Create Project

*Note: If you are using C++ instead of C#, please skip to the appropriate step.

In this step, we will load Visual Studio and create the .Net 4.6.1 Class project. The project which we will create is a C# Class Library. A compiled library will have the filename extension .DLL, where an application will have the extension .EXE. For EZ-Builder plugins, we do not want to create an actual EXE executable, instead we create a DLL. The DLL stands for Dynamic Link Library.

1) Load Visual Studio
User-inserted image

2) Select File -> New -> Project -> C# -> Class Library. Enter the NAME of your plugin, select .Net 4.6.1 and select the location for the project to reside on your hard drive.
User-inserted image

3) Delete the auto-generated Class1.cs file from the solution explorer. We will not be needing the example class file that is automatically inserted by Visual Studio. If you do not delete this file, nothing bad will happen but it's a good idea to not have unused code or class files lying around.
User-inserted image

4) In your project, right click on the References in the Solution Explorer and select Add Reference.
User-inserted image

5) Select the BROWSE tab. Add references to the following two files from the EZ-Builder installation directory which is located in C:\Program Files (x86)\EZ-Robot Inc\EZ-Builder. Add references to the two files EZ-Builder.exe and EZ_B.dll.
User-inserted image

6) Now that references are added to your project, we want to prevent these references from being copied to your output build folder during compile time. To prevent the referenced files from being copied, simply change the Copy Local value of both EZ-Builder and EZ_B to FALSE in the Solution Explorer.
User-inserted image


There, now your project is configured to begin adding the plugin graphic screen, which is called a Windows Form. In the next step, we will add the form and configure it to be used as a plugin.