<Project Sdk="Microsoft.NET.Sdk"> <PropertyGroup> <OutputType>Exe</OutputType>
<TargetFramework>net6.0</TargetFramework>
<Nullable>enable</Nullable> </PropertyGroup> <ItemGroup>
<PackageReference Include="TDengine.Connector" Version="3.0.*" GeneratePathProperty="true" />
</ItemGroup>
<Target Name="copyDLLDependency" BeforeTargets="BeforeBuild"> <ItemGroup> <DepDLLFiles Include="$(PkgTDengine_Connector)\runtimes\**\*.*" /> </ItemGroup> <Copy SourceFiles="@(DepDLLFiles)" DestinationFolder="$(OutDir)" /> </Target>
</Project>