From a150a8ec1655c7ca1a7cf2afc1386fca4f285248 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=B8=8D=E5=9C=A8=E4=B9=8Ey?= Date: Sat, 11 Sep 2021 19:44:38 +0800 Subject: [PATCH] Update README --- Gencode/README.md | 24 +++++++++++++++++++++++- Gencode/README.zh-CN.md | 24 +++++++++++++++++++++++- README.md | 2 +- README.zh-CN.md | 2 +- 4 files changed, 48 insertions(+), 4 deletions(-) diff --git a/Gencode/README.md b/Gencode/README.md index 55fd81d..8912d09 100644 --- a/Gencode/README.md +++ b/Gencode/README.md @@ -3,9 +3,31 @@ ----- Command Line: + +* .NET Framework + +``` +GenCodeNET net4.0.json +``` + +* .NET Core + +``` +dotnet GenCodeNETC.dll netcore2.1.json ``` -GenCode net4.0.json +GenCodeNETC.runtimeconfig +```json +{ + "runtimeOptions": { + "tfm": "", + "framework": { + "name": "Microsoft.NETCore.App", + "version": "2.1.30" // Modify the version number to run the specified .NET Core version. + } + } +} ``` +---- json configuration file format: ```json diff --git a/Gencode/README.zh-CN.md b/Gencode/README.zh-CN.md index da4e118..36d21fa 100644 --- a/Gencode/README.zh-CN.md +++ b/Gencode/README.zh-CN.md @@ -3,9 +3,31 @@ ----- 命令行: + +* .NET Framework + +``` +GenCodeNET net4.0.json +``` + +* .NET Core + +``` +dotnet GenCodeNETC.dll netcore2.1.json ``` -GenCode net4.0.json +GenCodeNETC.runtimeconfig +```json +{ + "runtimeOptions": { + "tfm": "", + "framework": { + "name": "Microsoft.NETCore.App", + "version": "2.1.30" // 修改版本号运行指定的.NET Core版本。 + } + } +} ``` +---- json配置文件格式: ```json diff --git a/README.md b/README.md index 4b00680..9fb48ce 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ # DDNRuntime - DDNRuntime(Delphi .NET Runtime) + DDNRuntime(Delphi .NET/.NET Core Runtime) ---- **Latest version: v0.1.24** diff --git a/README.zh-CN.md b/README.zh-CN.md index 07166f0..664f4c8 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -4,7 +4,7 @@ # DDNRuntime - DDNRuntime(Delphi .NET Runtime) + DDNRuntime(Delphi .NET/.NET Core Runtime) ---- **最新版本:v0.1.24**