Skip to content

Latest commit

 

History

History
40 lines (32 loc) · 2.43 KB

File metadata and controls

40 lines (32 loc) · 2.43 KB

Microsoft Windows

Developing a .Net Framework application

To develop a .Net Framework application that uses LibCecSharp:

  • download the latest binary version from our website
  • add a reference to LibCecSharp.dll for the target architecture (x86/amd64). It's installed to C:\Program Files (x86)\Pulse-Eight\USB-CEC Adapter\netfx by default
  • the minimum .Net Framework version required for LibCecSharp is 4.0

An example implementation can be found on Github.

Developing a .Net Core application

To develop a .Net Core application that uses LibCecSharp:

  • download the latest binary version from our website
  • add a reference to LibCecSharpCore.dll for the target architecture (x86/amd64). It's installed to C:\Program Files (x86)\Pulse-Eight\USB-CEC Adapter\netcore by default
  • the minimum .Net Core version required for LibCecSharpCore is 3.1

An example implementation can be found on Github.

Prerequisites

To compile libCEC on Windows, you'll need the following dependencies:

Compilation

To only compile libCEC, follow these instructions:

  • git submodule update --init --recursive
  • run python windows\create-installer.py -ni to build libCEC and LibCecSharp

To develop for libCEC in Visual Studio:

  • git submodule update --init --recursive
  • run python windows\create-installer.py -vs

To build an installer on Windows:

  • git submodule update --init --recursive
  • run python windows\create-installer.py
  • the installer is stored as dist\libCEC-VERSION.exe