Environment requirements
.NET Framework 4.0 or later is required.
Installation
- Install the OOS SDK for C# by running the dotnet command
dotnet add <Project name> package aliyun-net-sdk-oos
- Install the OOS SDK for C# by referencing an existing project
- Run the following command to download the SDK source codes from GitHub:
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.
- In Solution Explorer of Microsoft Visual Studio, right-click your solution.
- On the File menu, move the pointer over **Add, and then click Existing Project**.
- 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. - Right-click your project and choose **References > Add Reference**.