Issues with PWM class

I have just gotten an EMX Development System and am trying to create an instance of the PWM class in the GHIElectronics.NETMF.Hardware namespace and I get the following error:

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

here is my very basic code:


using System;
using Microsoft.SPOT;
using GHIElectronics.NETMF.Hardware;

namespace EMX_Application1
{
    public class Program
    {
        public static void Main()
        {
            PWM foo;
        }

    }
}

I have also tried the EMX class that exists in the Hardware namespace but that only exposes a Pin object. What am I missing? Any help would be appreciated.

Also this is my very first post here so forgive me if I posted in the wrong place or failed to follow any conventions.

This changed in 4.2. Please use thd beta and follow the tutorial as it has been updated to 4.2

Welcome to the community.

Do not forget to update the firmware as well.

By the way, a 4.2 release candidate is coming in couple days.