Search code examples
c#dlllego-mindstorms

Using Mindsqualls and C# to program LEGO Mindstorms


I am working on a program to run a LEGO NXT from a computer. I found the MindSqualls .NET library for working with the LEGO NXT, but I have no idea what to do with the DLL and/or the c# libraries to get the software working.

I first downloaded the DLL version, trying them in all of the different folders in the project. Yet when I try to use the with the code:

using NKH.MindSqualls;

I get the error

The type or namespace name 'NKH' could not be found (are you missing a using directive or an assembly reference?)

I get the same error when I tried downloading the c# projects and including them in my solution.

Does anyone know how I would include the DLLs or the c# projects in such a way that I could use them?


Solution

  • You need to right-click the project, click Add Reference, then select the DLL file.