Installing the SDK
If you have any questions during the development, post them on the Issues page of GitHub. For details about parameters and usage of each API, see the API Reference.
Method 1: Using the NuGet Package Manager in Visual Studio. The procedure is as follows:
- Open Visual Studio and choose Tools > NuGet Package Manager > Manage NuGet Packages for Solution.
- Search for esdk and in the results, select HuaweiCloud.ESDK.OBS if you want to install .NET Framework or HuaweiCloud.ESDK.OBS.Core if you want to install .NET Core.
Method 2: Installing the OBS .NET SDK. The example here uses the latest version.
- Download the OBS .NET SDK development package. For details, see SDK Download Links.
- Decompress the development package to obtain folder demo (sample code) and file Log4Net.config (log configuration file). In the release folder containing all SDK versions, select the latest version and decompress it. In the decompressed folder, you can obtain folder en (including files log4net.dll, the third-party log library file, and esdk_obs_.net.dll, the SDK library file) and file Log4Net.config (log configuration file).Start Visual Studio, open the project solution, and open the esdk_obs_.net.sln or esdk_obs_.net_core.sln file in the directory based on the project framework. Set the solution to Release and generate a solution. You can find esdk_obs_.net.dll and log4net.dll files in bin/Release in the decompression directory.
- Start Visual Studio and choose FILE > New > Project > Templates > Visual C# > Console Application to create a Console Application project.
- Right-click the new project and choose References > Add Reference and import file esdk_obs_.net.dll.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot