未验证 提交 a270e94d 编写于 作者: X xiaolei li 提交者: GitHub

[TD-12534](connector)<enchance>:scharp connector publish to nuget (#9444)

* [TD-12534](connector)<enchance>:scharp connector publish to nuget

* [TD-12534]<enchance>(connector):scharp connector publish to nuget

* [TD-12534]<enchance>(connector):remove nuget pack

* [TD-12534]<enhance>(connector):ci test

* [TD-12534](connector)<enchance>:fix with review comments
上级 d131e525
...@@ -4,3 +4,5 @@ src/test/Cases/bin/ ...@@ -4,3 +4,5 @@ src/test/Cases/bin/
src/test/Cases/obj/ src/test/Cases/obj/
src/test/XUnitTest/bin/ src/test/XUnitTest/bin/
src/test/XUnitTest/obj/ src/test/XUnitTest/obj/
src/test/doc/
NugetPackTest/
\ No newline at end of file
<Project Sdk="Microsoft.NET.Sdk"> <Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup> <PropertyGroup>
<TargetFramework>net5.0</TargetFramework> <TargetFrameworks>net5;netstandard2.0;net45</TargetFrameworks>
<PackageId>TDengine.Connector</PackageId>
<PackageIcon>logo.jpg</PackageIcon>
<Version>1.0.3</Version>
<Authors>taosdata</Authors>
<Company>www.taosdata.com</Company>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageTags>Taos;Data;Microsoft.NET.Sdk;IOT;bigdata;TDengine;taosdata</PackageTags>
<Description>
This is the C# connector's classlib that lets you connect to TDengine.
This C # connector supports: Linux 64/Windows x64/Windows x86.
more information please visit: https://www.taosdata.com
</Description>
<RepositoryUrl>https://github.com/taosdata/TDengine/tree/develop/src/connector/C%23</RepositoryUrl>
<NoWarn>CS1591</NoWarn>
</PropertyGroup> </PropertyGroup>
<ItemGroup>
<None Include="resource\logo.jpg" Pack="true" PackagePath="\" />
</ItemGroup>
</Project> </Project>
...@@ -7,10 +7,8 @@ ...@@ -7,10 +7,8 @@
<PropertyGroup> <PropertyGroup>
<OutputType>Exe</OutputType> <OutputType>Exe</OutputType>
<TargetFramework>net5.0</TargetFramework> <TargetFramework>net5.0</TargetFramework>
</PropertyGroup> <NoWarn>CS1591</NoWarn>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<PropertyGroup> <DocumentationFile>..\doc\FunctionTest.XML</DocumentationFile>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
<DocumentationFile>..\doc\FunctionTest.XML</DocumentationFile>
</PropertyGroup> </PropertyGroup>
</Project> </Project>
...@@ -3,13 +3,12 @@ ...@@ -3,13 +3,12 @@
<PropertyGroup> <PropertyGroup>
<TargetFramework>net5.0</TargetFramework> <TargetFramework>net5.0</TargetFramework>
<IsPackable>false</IsPackable> <IsPackable>false</IsPackable>
</PropertyGroup> <NoWarn>CS1591</NoWarn>
<PropertyGroup>
<GenerateDocumentationFile>true</GenerateDocumentationFile> <GenerateDocumentationFile>true</GenerateDocumentationFile>
<DocumentationFile>..\doc\UnitTest.XML</DocumentationFile> <DocumentationFile>..\doc\UnitTest.XML</DocumentationFile>
</PropertyGroup> </PropertyGroup>
<ItemGroup> <ItemGroup>
<PackageReference Include="coverlet.msbuild" Version="3.1.0"> <PackageReference Include="coverlet.msbuild" Version="3.1.0">
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> <IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
......
...@@ -86,8 +86,8 @@ namespace TDengineDriver ...@@ -86,8 +86,8 @@ namespace TDengineDriver
stmtDemo.ExecuteQuery(createTable); stmtDemo.ExecuteQuery(createTable);
stmtDemo.StmtInit(); stmtDemo.StmtInit();
string[] tableList = { "stmtdemo" }; // string[] tableList = { "stmtdemo" };
stmtDemo.loadTableInfo(tableList); // stmtDemo.loadTableInfo(tableList);
stmtDemo.StmtPrepare(stmtSql); stmtDemo.StmtPrepare(stmtSql);
TAOS_BIND[] binds = stmtDemo.InitBindArr(); TAOS_BIND[] binds = stmtDemo.InitBindArr();
......
<Project Sdk="Microsoft.NET.Sdk"> <Project Sdk="Microsoft.NET.Sdk">
<ItemGroup> <ItemGroup>
<PackageReference Include="TDengine.Connector" Version="1.0.2" /> <PackageReference Include="TDengine.Connector" Version="1.0.3" />
</ItemGroup> </ItemGroup>
<PropertyGroup> <PropertyGroup>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册