Near the bottom of the tutorial is a section called "Assemblies to Reference"
GHIElectronics.NETMF.Hardware is a suggested reference.
My problem is it does not exist in the 4.2 assemblies, but does exist in 4.1 assemblies.
(since this is a 4.2 tutorial, I am expecting to find it in the 4.2 assemblies)
I thought maybe my “NETMF and Gadgeteer Package 2014 R1” installation had issues so I reinstalled it… same thing, no GHIElectronics.NETMF.Hardware.dll in the 4.2 assemblies.
please let me know what I am doing wrong.
I apologize now if I am doing something stupid.
Here is my extremely simple program (which does not build).
OutputPort reference can not be found.
//ing GHI.Premium.SystemUpdate; // does not exist in namespace Premium
public class Program
public static void Main()
OutputPort led = new OutputPort((Cpu.Pin)pin, true);
Thank you! Chalk it up to a stupid user question!
I was missing a reference to Microsoft.SPOT.Hardware.
I expected the ‘using Microsoft.SPOT.Hardware;’ statement to be marked as an error if the assembly is missing, but not true.
At any rate, sorry for cluttering the forum with stupid questions…
No question is “stupid”. The assembly issue comes up quite a bit, and your questions help decide where documentation needs clarification. I ask “stupid” questions when they are in areas where I have little, or no, experience and can’t find a clear answer anywhere.