All Products
Search
Document Center

Installation

Last Updated: Sep 05, 2019

Environment requirements

.NET Framework 4.0 or later is required.

Installation

  • Install the OOS SDK for C# by running the dotnet command
  1. dotnet add <Project name> package aliyun-net-sdk-oos
  • Install the OOS SDK for C# by referencing an existing project
  1. Run the following command to download the SDK source codes from GitHub:
  1. git clone https://github.com/aliyun/aliyun-openapi-net-sdk.git

Find the aliyun-net-sdk-oos.*.csproj file in the aliyun-net-sdk-oos directory. This is the .NET project file to be referenced.

  1. In Solution Explorer of Microsoft Visual Studio, right-click your solution.
  2. On the File menu, move the pointer over **Add, and then click Existing Project**.
  3. In the dialog box that appears, select the .NET project file, for example, aliyun-net-sdk-oos.vs2017.csproj, from the downloaded source code, and then click Open.
  4. Right-click your project and choose **References > Add Reference**.