Asked — Edited
Resolved Resolved by DJ Sures!

Sdk: C# Cant Get Example To Work, Vb Works

I have been reading and playing around with the SDK, was able to get the servo example to run in VB.net but can not in C#.

EZB_Connect does not exist in the namespace 'EZ_B'.

I double checked to make sure the reference was there.

Also, in the readme documentation, it says .Net Framework v4, I had to set it at 4.5 in order to get the VB sample to run.


ARC Pro

Upgrade to ARC Pro

Subscribe to ARC Pro, and your robot will become a canvas for your imagination, limited only by your creativity.

PRO
Synthiam
#9  

Shoes schmooos

  1. The framework is 4.5. Does the readme say 4? I'll have to change that:)

  2. There is only EZ_B.DLL and you need to add a reference to it

  3. I'm unable to speak on behalf of Microsoft Visual Studio's bugs:(

  4. Some projects will require references, others won't. It depends on what visual studio decides to do when the project is loaded on another computer

  5. Every time ARC is compiled during development, it also compiles every tutorial as well. This ensures all of my tests are working. Every tutorial is a unit test for the EZ_B.dll

What is the exact project name that you are loading?

PRO
Synthiam
#11  

Oops - is that in the sdk? Isn't supposed to be - it isn't even in my project. It's an old folder. Guess I forgot to delete it!

#12  

Even when I go to one of the numbered examples, I still have issues, that I think resolve around the AnyCPU vs x86.

Anyway you can zip one of the projects that will work so I can see what all is being changed/added in the properties?

#13  

Never mind got it figured out under the x86 (build configuration) once I was working on a valid project.

Had to also: --Build Menu---Configuration Manager----Change active solution to x86 and the project platform to x86 and build checked.

#14  

@d.cochran , I had sent you an email from my personal email account about your EZ-AI software, did you get it?

#15  

I'll check. I get many many emails a day and we had a tornado outbreak here today. We are fine but it kind of consume s my day when that happens.