
Dunning-Kruger
So I followed @DJ's excellent tutorial on creating an ez builder plugin... (the 2 servo button window).... Everything went great, no compiler errors and everything looks exactly like @DJ's tutorial... GUID is correct, folders and dll are where they are supposed to be and reference name (DLL) in the xml file seems correct... It even shows up in the beta section of ez builder.... But when I try to add the plugin to my project I get this error... "misssing DLL or incorrect filename specified in plugin.xml"
<?xml version="1.0" ?>
<PluginV1XML xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<FRIENDLY_NAME>MyFirstPlugin</FRIENDLY_NAME>
<DLL_FILENAME >MyFirstPlugIn.dll</DLL_FILENAME>
<AUTHOR_NAME>Richard R</AUTHOR_NAME>
<LICENSE_URL>http://www.ez-robot.com/tutorials/plugin-license.aspx</LICENSE_URL>
<PLUGIN_GUID>233f4787-4d44-4ec7-8b4c-00aace3d1f30</PLUGIN_GUID>
<CATEGORY_TYPE>Beta</CATEGORY_TYPE>
<DESCRIPTION />
</PluginV1XML>
*Edit: i'm just waking up and so is my brain. I should have not suggested that. There is no case sensitive in Windows.
Show me a screenshot of your output folder where the plugin.xml is.
The files will copy themselves to the build output folder when you build the project (CTRL SHIFT B). You do not need to copy the files manually.
I suspect the path is incorrect - what is the exact path to your output folder? For example...
[feature]
C:\Users\Public\Documents\EZ-Builder\Plugins\60db819e-e6ab-4d18-89eb-b253f1bb4183
[/feature]
the output folder as I enter it before saving...
For example, you specified this...
[feature]
C:\Users\Public\Documents\EZ-Builder\Plugins\ 233f4787-4d44-4ec7-8b4c-00aace3d1f30
[/feature]
The correct path should be this...
[feature]
C:\Users\Public\Documents\EZ-Builder\Plugins\233f4787-4d44-4ec7-8b4c-00aace3d1f30"
[/feature]
*Note: I highlighted in BOLD where the error is in your OUTPUT PATH declaration. There is a blank space in the directory name of the GUID.
1) Load the properties of the visual studio project
2) Locate OUTPUT PATH
3) Remove the space at the beginning of the GUID
4) Close the properties and save your project
Now that you have corrected the path, the old output folder (the one with the space) will still exist in the PUBLIC Documents folder. You will manually need to delete that folder (the one with the space). Otherwise two plugins will show up and one won't work.
and Look at the instruction #8. You did not specify the PLUGIN.XML to be COPY ALWAYS. That is why the file is not being copied.
We have identified two issues with your plugin project:
1) There is a blank space in the filename of your GUID in the OUTPUT PATH specification
2) The Plugin.XML is not specified to be COPY ALWAYS in the visual studio project
Repair both of those issues and the plugin will work.
yes, I will go over the install process again and make sure I understand it correctly
Thanks again...
I made a change to ARC which will display more debug information about loading a plugin if there are errors such as you had created.
If you re-download the ARC from this website, it will contain more details to assist in debugging loading plugins. In order to install the ARC, you will have to uninstall the current version. This is because the change is so minor that i did not modify the version number.
1) uninstall ARC from your computer (control panel -> Programs & Features)
2) Install the latest ARC from this website
Now you will have additional debugging information if there are issues with incorrect spelled directories, blank or incorrect guids, or missing DLL files.
I will look at your code and you never know maybe I can do something.....
Anyway, thanks for your help.... I am sure I can do something with the plugins if I put some effort into learning this stuff....