This topic describes how to install the server operation SDK for .NET.

Prerequisites

ApsaraVideo VOD is activated. For more information, see Activate ApsaraVideo VOD.

Environment requirements

  • .NET 2.0 or later is installed.
  • Visual Studio 2017 or later is installed.
  • Mono 3.12 or later is installed.

Install the SDK by using GitHub

  1. Install Git. If it is already installed, skip this step.
  2. Run the git clone command to download the latest source code for the SDKs aliyun-net-sdk-core and aliyun-net-sdk-vod.
  3. After the source code is downloaded, add project references by performing the steps described in the following section.

Start Visual Studio and add project references

  1. Choose View > Solution Explorer.
  2. In the right-side pane of the window, right-click Solution and choose Add > Existing Project.
  3. In the dialog box that appears, select the aliyun-net-sdk-core.csproj and aliyun-net-sdk-vod.csproj files, and click Open.
  4. Right-click Project and select Add. Then, select Reference. In the dialog box that appears, click the Projects tab.
  5. Select aliyun-net-sdk-core and aliyun-net-sdk-vod. Then, click OK.