Create the Driver Project

The steps required to create a driver project differ depending on whether Visual Studio® 2019 or 2008 software is being used for your development environment.

A driver will have its own SIMPL#Pro project using the SIMPL#Pro Library Template.

Create a Visual Studio 2019 Project

  1. Open Visual Studio software.
  2. Create a new .NET Framework Class Library project.
  3. NOTE: In the example above, .NET Framework 4.7.2 is used, but any version after .NET Framework 3.5 can be used.
  4. Name the driver based on the manufacturer, model, and communication type.
  5. For example, a driver with the following attributes would be named "TestManufacturerTestModelSerial".

    • Manufacturer: TestManufacturer
    • Model: TestModel
    • Communication Type: Serial
    • Device Type: Display
  6. Add the required Crestron NuGet packages.
    1. Open the NuGet package manager.
    2. Navigate to Browse.
    3. Enter the search term "Crestron."
    4. Install the following packages:
      • Crestron.SimplSharp.SDK.Library
      • Crestron.SimplSharp.SDK.ProgramLibrary

  7. Add a reference to RADCommon (provided in the SDK) as well as any other DLL files required for the driver (such as RADAVReceiver, RADCableBox, and so forth). For more information, refer to Required Libraries.

Create a Visual Studio 2008 Project

  1. Open Visual Studio software.
  2. Navigate to FileNew > Project.
  3. Select Crestron from the InstalledVisual C# selections.
  4. Name the driver based on the manufacturer, model, and communication type.
  5. For example, a driver with the following attributes would be named "TestManufacturerTestModelSerial".

    • Manufacturer: TestManufacturer
    • Model: TestModel
    • Communication Type: Serial
    • Device Type: Display
  6. Add references to ThirdPartyCommon and Required Libraries. If a Serial driver is being created, a reference to ProTransports is also required.