I just had this problem and thanks to everyone here I solved it by adding [color=rgb(40,40,40);font-family:helvetica, arial, sans-serif;]SecretLabs.NETMF.Hardware.AnalogInput.dll to my references but found using the fully qualified namespace each time I wanted to use SecretLabs AnalogInput I added the following to the using section[/color]
using AnalogInput = SecretLabs.NETMF.Hardware.AnalogInput;
this way I can use AnalogInput like so:
AnalogInput pot = new AnalogInput(Pins.GPIO_PIN_A0);
Without the compiler errors and warnings.
Hope this helps anyone reading this thread.