From 77bb7c848381b9f770b054a0fefe1e10c400293a Mon Sep 17 00:00:00 2001 From: xiaolei li <85657333+xleili@users.noreply.github.com> Date: Mon, 4 Jul 2022 19:28:08 +0800 Subject: [PATCH] fix(test):change c# example targetFramework to net5 (#14497) * fix(test):change c# example targetFramework to net5 * fix(test):change C# CI example targetFramework to net5 * fix(test):C# CI example target framwork to net5 --- examples/C#/C#checker/C#checker.csproj | 2 +- examples/C#/TDengineTest/TDengineTest.csproj | 2 +- examples/C#/insertCn/insertCn.csproj | 2 +- examples/C#/jsonTag/jsonTag.csproj | 2 +- examples/C#/schemaless/schemaless.csproj | 2 +- examples/C#/stmt/stmt.csproj | 2 +- examples/C#/taosdemo/taosdemo.csproj | 2 +- tests/develop-test/3-connectors/c#/test.sh | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/examples/C#/C#checker/C#checker.csproj b/examples/C#/C#checker/C#checker.csproj index 68bc2b5ad5..afeeaf3f01 100644 --- a/examples/C#/C#checker/C#checker.csproj +++ b/examples/C#/C#checker/C#checker.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net5.0 C_checker diff --git a/examples/C#/TDengineTest/TDengineTest.csproj b/examples/C#/TDengineTest/TDengineTest.csproj index af51b4eeec..211c927d3d 100644 --- a/examples/C#/TDengineTest/TDengineTest.csproj +++ b/examples/C#/TDengineTest/TDengineTest.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net5.0 diff --git a/examples/C#/insertCn/insertCn.csproj b/examples/C#/insertCn/insertCn.csproj index afd8df62e4..69ddfdfbbf 100644 --- a/examples/C#/insertCn/insertCn.csproj +++ b/examples/C#/insertCn/insertCn.csproj @@ -6,7 +6,7 @@ Exe - net6.0 + net5.0 diff --git a/examples/C#/jsonTag/jsonTag.csproj b/examples/C#/jsonTag/jsonTag.csproj index 2962d33a69..eb33d899ac 100644 --- a/examples/C#/jsonTag/jsonTag.csproj +++ b/examples/C#/jsonTag/jsonTag.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net5.0 diff --git a/examples/C#/schemaless/schemaless.csproj b/examples/C#/schemaless/schemaless.csproj index 50e84ec1f9..c2369f3e8e 100644 --- a/examples/C#/schemaless/schemaless.csproj +++ b/examples/C#/schemaless/schemaless.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net5.0 diff --git a/examples/C#/stmt/stmt.csproj b/examples/C#/stmt/stmt.csproj index 629f476422..f0370cbf56 100644 --- a/examples/C#/stmt/stmt.csproj +++ b/examples/C#/stmt/stmt.csproj @@ -6,7 +6,7 @@ Exe - net6.0 + net5.0 diff --git a/examples/C#/taosdemo/taosdemo.csproj b/examples/C#/taosdemo/taosdemo.csproj index f6beeda56b..8d4b786ba3 100644 --- a/examples/C#/taosdemo/taosdemo.csproj +++ b/examples/C#/taosdemo/taosdemo.csproj @@ -2,7 +2,7 @@ Exe - net6.0 + net5.0 false diff --git a/tests/develop-test/3-connectors/c#/test.sh b/tests/develop-test/3-connectors/c#/test.sh index 06d3188788..f77536c1fd 100755 --- a/tests/develop-test/3-connectors/c#/test.sh +++ b/tests/develop-test/3-connectors/c#/test.sh @@ -55,5 +55,5 @@ check $? insertCn.csproj cd ${WKC}/tests/examples/C#/taosdemo dotnet build -c Release tree | true -./bin/Release/net6.0/taosdemo -c /etc/taos -y +./bin/Release/net5.0/taosdemo -c /etc/taos -y check $? taosdemo -- GitLab