Make an EZ-Builder Behavior Control

3. Create Project

*Note: If you are using C++ instead of C#, the setup is similar if you are experienced with creating managed C++ DLL libraries.

In this step, we will load Visual Studio and create the x86 .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 and press the BROWSE button. Add references to the following two files by navigating to the EZ-Builder installation directory which is located in C:\Program Files (x86)\Synthiam 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.

#15  
Error: the referenced component" EZ_builder,EZ_B" could not be found, DJ Sure i hope you can help me !
Synthiam
#16   — Edited
User-inserted image
Joinny, you have to add the referencing by following the instructions in this tutorial. They are outlined with step by step to easily follow. Click add references, and browse to the appropriate files as directed in the tutorial. I can’t write anything clearer in response. The step to add references is incredibly clear but you’re skipping it.
#17  
The error cannot read the COM file, I downloaded it and when I follow the instructions, I get an error, while other files read normally.
.User-inserted image
#18   — Edited
sorry for me but i tried many different ways but still show the error,I couldn't find EZ_B.dll file even though I downloaded it
Synthiam
#19  
None of the required references are in your list. Please follow the tutorial. It explains exactly how to click the browse button and navigate to the folder and select the files.
#20  
Sorry, but the reason I can't reference is because there is no file in the EZ_B folder and there is an error : this folder is empty , I am trying to solve it. I would like to thank DJ sure for answering my superfluous questions and I'm sorry for bothering you