Canada
Asked — Edited
Resolved Resolved by CochranRobotics!

Type Or Namespace 'Ezb_Connect' Does Not Exist In The Namespace 'Ezb'

I'm trying to install the C# SDK and I get the error messge "the type or namespace 'EZB_Connect does not exist in the namespace 'EZB'... showing up in Form1.Designer.cs. Can anyone offer a solution? I'm using VS Community 2013. See attached screen shot.


ARC Pro

Upgrade to ARC Pro

Your robot can be more than a simple automated machine with the power of ARC Pro!

#1  

you need to copy all of the EZ-B SDK DLLs to your project build directory. See the SDK release notes.

Alan

#2  

Make sure you have included the ezb.dll file as a reference to your project along with having the correct .net framework.

Canada
#3  

I have done that and the error message still comes up. The framework is 4.5. Other suggestions?

#4  

Is EZ_B in your references?
Is Copy Local set to True?
Is it in your project directory?

#5  

are you using an example DJ provides or building your own project?

DJ gives an example of what needs to be layed out in your code if its a new project Here.

Also don't forget to add the .dll to your tool area.

Canada
#6  

EZ_B is in the references, Copy Local is set to True and the files were copied to the bin/debug folder of the project as specified in the Installation Notes.

#7  

If you install team viewer 10, I would be more than happy to connect and see if I can figure it out.

Canada
#8  

orwnic82, I am using a project from the Tutorials page. This is what shows up:

private System.Windows.Forms.NumericUpDown numericUpDown2;
private System.Windows.Forms.NumericUpDown numericUpDown1;
private EZ_B.EZB _ezb;
private EZ_B.EZB_Connect ezB_Connect1;

It is EZB_Connect in the last line that has a squiggly blue line under it and the message "The type or namespace 'EZB_Connect does not exist in the namespace 'EZB' (are you missing an assembly reference?)