Asked — Edited

Creating Plug In

Hi,

I posted this yesterday but did not show up for some reason.

I am creating my first plug in. Followed the tutorial completely. I keep coming up with the same error constantly.

CA0055 Error Running Code Analysis CA0055 : Could not load C:\Users\Public\Documents\EZ-Builder\Plugins\2463b146-191a-43d0-b69b-5a7034a2aefe\MyFirstplugin.dll. The following error was encountered while reading module 'MyFirstplugin': Assembly reference cannot be resolved: ARC, Version=2015.8.9.0, Culture=neutral, PublicKeyToken=c3a3457c97d352d9. [Errors and Warnings] (Global)

It is pointing to a version not on my system. Did regedit to check registry check and scanned my PC this file referenced does not exist. When add the reference it show current version of ARC keep referencing this version old version. It should be version neutral correct? I have "Copy to local" = False

Message 9 Could not find schema information for the element 'VersionRelease'. C:\Users\jack\Documents\Visual Studio 2013\Projects\MyFirstplugin\MyFirstplugin\plugin.xml 10 4 MyFirstplugin Message 1 Could not find schema information for the element 'PluginV1XML'. C:\Users\jack\Documents\Visual Studio 2013\Projects\MyFirstplugin\MyFirstplugin\plugin.xml 2 2 MyFirstplugin Message 6 Could not find schema information for the element 'PLUGIN_GUID'. C:\Users\jack\Documents\Visual Studio 2013\Projects\MyFirstplugin\MyFirstplugin\plugin.xml 7 4 MyFirstplugin Message 5 Could not find schema information for the element 'LICENSE_URL'. C:\Users\jack\Documents\Visual Studio 2013\Projects\MyFirstplugin\MyFirstplugin\plugin.xml 6 4 MyFirstplugin Message 2 Could not find schema information for the element 'FRIENDLY_NAME'. C:\Users\jack\Documents\Visual Studio 2013\Projects\MyFirstplugin\MyFirstplugin\plugin.xml 3 4 MyFirstplugin Message 3 Could not find schema information for the element 'DLL_FILENAME'. C:\Users\jack\Documents\Visual Studio 2013\Projects\MyFirstplugin\MyFirstplugin\plugin.xml 4 4 MyFirstplugin Message 8 Could not find schema information for the element 'DESCRIPTION'. C:\Users\jack\Documents\Visual Studio 2013\Projects\MyFirstplugin\MyFirstplugin\plugin.xml 9 4 MyFirstplugin Message 7 Could not find schema information for the element 'CATEGORY_TYPE'. C:\Users\jack\Documents\Visual Studio 2013\Projects\MyFirstplugin\MyFirstplugin\plugin.xml 8 4 MyFirstplugin Message 4 Could not find schema information for the element 'AUTHOR_NAME'. C:\Users\jack\Documents\Visual Studio 2013\Projects\MyFirstplugin\MyFirstplugin\plugin.xml 5 4 MyFirstplugin Error 10 Code Analysis detected errors. See Code Analysis results window or log file for details. MyFirstplugin

It shows up in ARC under plugins and can placed in window. No buttons show and not functional.

Using VS 2013 and VB.Net

Thanks.


ARC Pro

Upgrade to ARC Pro

Experience early access to the latest features and updates. You'll have everything that is needed to unleash your robot's potential.

#9  

Sorry checked that it must be form pasting in reply enclosed is a screenshot of the plugin and Error list.

Code Analyst is same but I can send also if you want.

#12  

Even though I select the current version in my ARC directory this is what it references to.

User-inserted image

User-inserted image

PRO
Synthiam
#13  

Please read my previous post regarding file version. What you circled and screen shot is exactly what my entire post was about, the difference between File version and Assembly version. Please read the post. If you need additional information, google will be useful - either way, the version is irrelevant. The assembly version that you posted is the correct one.

All of the information you need is presented in the tutorial - It also appears that you are attempting to "Run" the XML file. XML files are not code, you cannot run them. Please follow the tutorial for creating a plugin and you'll be ready to go!

There's dozens of users creating plugins, nearly 60 in total with no one else experiencing issues. I recommend that you strictly follow the tutorial. I have faith in you!:) Enjoy creating your plugin!

#14  

Ok was not any of the about. I had to the initialize component down.

Here is a VB.Net translation for anyone interested if not using C#

I worked and continue to work in VB.Net shops for last 15 years and the translation to C# screwed me up a little.

I hope this helps some on else

Imports System Imports System.Collections.Generic Imports System.ComponentModel Imports System.Data Imports System.Drawing Imports System.Linq Imports System.Text Imports System.Threading.Tasks Imports System.Windows.Forms

Namespace Myfirstplugin

Partial Public Class mainform

    Inherits EZ_Builder.UCForms.FormPluginMaster

    Public Overrides Function GetConfiguration() As EZ_Builder.Config.Sub.PluginV1
        Return MyBase.GetConfiguration()
    End Function

    Public Overrides Sub SetConfiguration(cf As EZ_Builder.Config.Sub.PluginV1)
        MyBase.SetConfiguration(cf)
    End Sub

    Public Overrides Sub SendCommand(windowCommand As String, ParamArray values As String())
        MyBase.SendCommand(windowCommand, values)
    End Sub

    Public Overrides Function GetSupportedControlCommands() As Object()
        Return MyBase.GetSupportedControlCommands()
    End Function

    Private Sub mainform_Load(sender As Object, e As EventArgs) Handles MyBase.Load
        InitializeComponent()
    End Sub

Thanks for the help.

#15  

I upload my plugin several weeks ago. It has been working for me ok. I does this get a public view for distribution or gets tested by you?