Skip to content

Commit

Permalink
Merge pull request #46 from taosdata/release/xiaolei/TD-20880-release…
Browse files Browse the repository at this point in the history
…-v3.0.2

release: C# 3.0 connector v3.0.2
  • Loading branch information
sangshuduo committed Jan 17, 2023
2 parents 3b819bf + c2ea01e commit c94cbfd
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@ For WebSocket, Need add the following ItemGroup in your project file:
</ItemGroup>
<Target Name="copyDLLDependency" BeforeTargets="BeforeBuild">
<ItemGroup>
<DepDLLFiles Include="$(PkgTDengine_Connector_test)\runtimes\**\*.*" />
<DepDLLFiles Include="$(PkgTDengine_Connector)\runtimes\**\*.*" />
</ItemGroup>
<Copy SourceFiles="@(DepDLLFiles)" DestinationFolder="$(OutDir)\dep_lib" />
<Copy SourceFiles="@(DepDLLFiles)" DestinationFolder="$(OutDir)" />
</Target>

```
Expand Down Expand Up @@ -359,9 +359,9 @@ else
</ItemGroup>
<Target Name="copyDLLDependency" BeforeTargets="BeforeBuild">
<ItemGroup>
<DepDLLFiles Include="$(PkgTDengine_Connector_test)\runtimes\**\*.*" />
<DepDLLFiles Include="$(PkgTDengine_Connector)\runtimes\**\*.*" />
</ItemGroup>
<Copy SourceFiles="@(DepDLLFiles)" DestinationFolder="$(OutDir)\dep_lib" />
<Copy SourceFiles="@(DepDLLFiles)" DestinationFolder="$(OutDir)" />
</Target>
```

Expand Down
2 changes: 1 addition & 1 deletion src/TDengine.Driver/Impl/lib.taos.ws.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public static class LibTaosWS
{
// public const string LibName = "/root/git_space/test/taos-connector-rust/target/libtaosws/libtaosws.so";
public const string LibName = "taosws";
[DefaultDllImportSearchPaths(DllImportSearchPath.AssemblyDirectory)]
[DefaultDllImportSearchPaths(DllImportSearchPath.UserDirectories)]
[DllImport(LibName, EntryPoint = "ws_enable_log", CallingConvention = CallingConvention.Cdecl)]
static extern public void WSEnableLog();

Expand Down
2 changes: 1 addition & 1 deletion src/TDengine.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

<PropertyGroup>
<TargetFrameworks>net5;net6;netstandard2.0;netstandard2.1;net45;net451;</TargetFrameworks>
<PackageId>TDengine.Connector.test</PackageId>
<PackageId>TDengine.Connector</PackageId>
<PackageIcon>image\logo.jpg</PackageIcon>
<PackageReadmeFile>docs\README.md</PackageReadmeFile>
<Version>3.0.2</Version>
Expand Down

0 comments on commit c94cbfd

Please sign in to comment.