Skip to content

Commit 732679d

Browse files
committed
https://github.com/eedalong/Apache-IoTDB-Client-CSharp/pull/77#issuecomment-1192133093
1 parent 22b4b7f commit 732679d

File tree

2 files changed

+31
-21
lines changed

2 files changed

+31
-21
lines changed

README.md

Lines changed: 17 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -30,25 +30,22 @@ This is the C# client of Apache IoTDB.
3030

3131
Apache IoTDB website: https://iotdb.apache.org
3232
Apache IoTDB Github: https://github.com/apache/iotdb
33-
3433

3534
## Installation
3635

3736
### Install from NuGet Package
3837

39-
We have prepared Nuget Package for C# users who are using `.Net Framework 4.6.1` or higher version. Users can directly install the client through .NET CLI. [The link of our NuGet Package is here](https://www.nuget.org/packages/Apache.IoTDB/). Run the following command in the command line to complete installation
38+
We have prepared Nuget Package for C# users. Users can directly install the client through .NET CLI. [The link of our NuGet Package is here](https://www.nuget.org/packages/Apache.IoTDB/). Run the following command in the command line to complete installation
4039

4140
```sh
4241
dotnet add package Apache.IoTDB
4342
```
4443

45-
46-
## Prerequisites
44+
Note that the `Apache.IoTDB` package only supports `.net 5.0`. If you are using `.net framework 4.x`, please refer to the section [starting from .net framework 4.x](#starting-from-net-framework-4x).
4745

48-
.NET SDK Version == 5.0 or higher version
49-
.Net Framework 4.6.1 or higher version
50-
.Net Standard 2.0 or 2.1
46+
## Prerequisites
5147

48+
.NET SDK Version == 5.0
5249

5350
## How to Use the Client (Quick Start)
5451

@@ -57,10 +54,9 @@ Users can refer to the test code in [tests](https://github.com/eedalong/Apache-I
5754
## Developer environment requirements for iotdb-client-csharp
5855

5956
```
60-
.NET SDK Version == 5.0 or higher version
61-
.Net Framework 4.6.1 or higher version
62-
.Net Standard 2.0 or 2.1
63-
ApacheThrift >= 0.14.1
57+
.NET SDK Version == 5.0
58+
ApacheThrift >= 0.14.1
59+
NLog >= 4.7.9
6460
```
6561

6662
### OS
@@ -71,4 +67,13 @@ Users can refer to the test code in [tests](https://github.com/eedalong/Apache-I
7167
### Command Line Tools
7268

7369
## Publish your own client on nuget.org
74-
You can find out how to publish from this [doc](./PUBLISH.md).
70+
You can find out how to publish from this [doc](./PUBLISH.md).
71+
72+
## Starting from `.net framework 4.x`
73+
In order to adapt to `.net framework 4.x`, we have packaged a nuget package separately, the package name is [`Apache.IoTDB.framework`](https://www.nuget.org/packages/Apache.IoTDB.framework/).
74+
75+
You can install it through Package Manager (PM), .NET CLI, etc. For example (.NET CLI):
76+
77+
```sh
78+
dotnet add package Apache.IoTDB.framework --version 0.12.1.2
79+
```

README_ZH.md

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -39,24 +39,20 @@ Apache IoTDB Github: https://github.com/apache/iotdb
3939
dotnet add package Apache.IoTDB
4040
```
4141

42-
43-
## 环境准备
42+
请注意,`Apache.IoTDB`这个包仅支持`.net 5.0`。 如果您使用的是`.net framework 4.x`,请参考[`.net framework 4.x`开始](#从-net-framework-4x-开始)
4443

45-
.NET SDK Version == 5.0或更高版本
46-
.Net Framework 4.6.1 或更高版本
47-
.Net Standard 2.0 或者 2.1
44+
## 环境准备
4845

46+
.NET SDK Version == 5.0
4947

5048
## 如何使用 (快速上手)
5149
用户可参考[使用样例](https://github.com/eedalong/Apache-IoTDB-Client-CSharp-UserCase)中的测试代码了解各个接口使用方式
5250

5351

5452
## iotdb-client-csharp的开发者环境要求
55-
.NET SDK Version == 5.0或更高版本
56-
.Net Framework 4.6.1 或更高版本
57-
.Net Standard 2.0 或者 2.1
53+
.NET SDK Version == 5.0
5854
ApacheThrift >= 0.14.1
59-
55+
NLog >= 4.7.9
6056

6157

6258
### 操作系统
@@ -68,3 +64,12 @@ dotnet add package Apache.IoTDB
6864

6965
## 在 nuget.org 上发布你自己的客户端
7066
你可以在这个[文档](./PUBLISH.md)中找到如何发布
67+
68+
## `.net framework 4.x`开始
69+
为了适配`.net framework 4.x`,我们单独构建了一个Nuget包,包名是[`Apache.IoTDB.framework`](https://www.nuget.org/packages/Apache.IoTDB.framework/)
70+
71+
您可以使用PM、.NET CLI等工作来安装它。以.NET CLI为例:
72+
73+
```sh
74+
dotnet add package Apache.IoTDB.framework --version 0.12.1.2
75+
```

0 commit comments

Comments
 (0)