You should already have two files, NeoPixel.dll and NeoPixelNative.dll. You've either downloaded them or compiled them yourself.
In the project where you want to use NeoPixels, inside Visual Studio, you need to add references to these two DLL files.
using NeoPixel;
using System; using System.Threading; using Microsoft.SPOT; using Microsoft.SPOT.Hardware; using SecretLabs.NETMF.Hardware; using SecretLabs.NETMF.Hardware.Netduino; using NeoPixel; namespace NeoPixelTester { public class Program { public static void Main() { NeoPixelChain chain = new NeoPixelChain(Pins.GPIO_PIN_D0); for (int i = 0; i < 8; i++) { int v = (i + 0) * (256 / 80) + 1; chain.Add(0x55, 0xAA, 0x5A); chain.Add(v, v, v); chain.Add(0, 0, v); chain.Add(0, v, 0); chain.Add(0, v, v); chain.Add(v, 0, 0); chain.Add(v, 0, v); chain.Add(v, v, 0); } chain.Write(); while (true) { // do nothing } } } }