Skip to content

Commit 3e021d4

Browse files
authored
update README: add installing instruction for .net framework (#65)
lgtm
1 parent c36f253 commit 3e021d4

File tree

2 files changed

+23
-2
lines changed

2 files changed

+23
-2
lines changed

README.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ We have prepared Nuget Package for C# users. Users can directly install the clie
4141
dotnet add package Apache.IoTDB
4242
```
4343

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).
45+
4446
## Prerequisites
4547

4648
.NET SDK Version == 5.0
@@ -65,4 +67,13 @@ NLog >= 4.7.9
6567
### Command Line Tools
6668

6769
## Publish your own client on nuget.org
68-
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: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ Apache IoTDB Github: https://github.com/apache/iotdb
3939
dotnet add package Apache.IoTDB
4040
```
4141

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

4344
## 环境准备
4445

@@ -62,4 +63,13 @@ dotnet add package Apache.IoTDB
6263
### 命令行工具
6364

6465
## 在 nuget.org 上发布你自己的客户端
65-
你可以在这个[文档](./PUBLISH.md)中找到如何发布
66+
你可以在这个[文档](./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)