Main Site Documentation

Namespace name 'GHIElectronics' could not be found


I’m getting the error

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

from Visual Studio 2010. I’ve uninstalled and reinstalled the program, but the problem persists. Code that does not include the GHIElectronics workspace works fine (i.e. I can upload and run on the FEZ Cobra).

I should also add that Visual Studio takes very long to start up (>1 minute just sitting there with the splash screen), so the problem may very well be with the installation of Visual Studio, not GHI (which I did install also). Should I switch to the express version?

Many thanks,


What assemblies do you have referenced in your project? Check the References folder in the solution explorer.


The FAQ has one question on what assemblies to add.


Sounds to me like you haven’t added the references you need for the code you’re running.