Skip to content

Commit b10df63

Browse files
committed
支持.NetCore 5.0-8.0
支持.NetCore 5.0-8.0
1 parent b4d2fa8 commit b10df63

3 files changed

Lines changed: 161 additions & 0 deletions

File tree

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
<PropertyGroup>
3+
<DefineConstants>HTTPCLIENT</DefineConstants>
4+
<TargetFrameworks>net5.0;net6.0;net7.0;net8.0</TargetFrameworks>
5+
<IsPackable>false</IsPackable>
6+
<OutputType>Exe</OutputType>
7+
</PropertyGroup>
8+
<ItemGroup>
9+
<ProjectReference Include="..\TLSNetCore\TLSNetCore.csproj" />
10+
</ItemGroup>
11+
<ItemGroup>
12+
<Compile Include="..\VolcengineTls.Examples\ProducerExample.cs">
13+
<Link>ProducerExample.cs</Link>
14+
</Compile>
15+
<Compile Include="..\VolcengineTls.Examples\Program.cs">
16+
<Link>Program.cs</Link>
17+
</Compile>
18+
<Compile Include="..\VolcengineTls.Examples\PutLogExample.cs">
19+
<Link>PutLogExample.cs</Link>
20+
</Compile>
21+
<Compile Include="..\VolcengineTls.Examples\PutLogV2Example.cs">
22+
<Link>PutLogV2Example.cs</Link>
23+
</Compile>
24+
</ItemGroup>
25+
26+
<ItemGroup>
27+
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.3">
28+
<PrivateAssets>build</PrivateAssets>
29+
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
30+
</PackageReference>
31+
<PackageReference Include="Newtonsoft.Json" Version="13.0.3"/>
32+
</ItemGroup>
33+
34+
<ItemGroup>
35+
<PackageReference Include="Microsoft.Extensions.Logging" Version="9.0.6" />
36+
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="9.0.6" />
37+
<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="9.0.6" />
38+
</ItemGroup>
39+
</Project>

TLSNetCore/TLSNetCore.csproj

Lines changed: 116 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,116 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
<PropertyGroup>
3+
<DefineConstants>HTTPCLIENT</DefineConstants>
4+
<TargetFrameworks>net5.0;net6.0;net7.0;net8.0</TargetFrameworks>
5+
<AssemblyName>Volcengine.TLS</AssemblyName>
6+
<IsPackable>true</IsPackable>
7+
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
8+
<PackageId>Volcengine.TLS.SDK.NetCore</PackageId>
9+
<Version>1.0.1</Version>
10+
<Authors>volcengine</Authors>
11+
<Company>volcengine</Company>
12+
<Description>Volcengine TLS SDK for .NET(supports net5.0, net6.0, net7.0, net8.0)</Description>
13+
<Copyright>Copyright (2023) Volcengine Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.</Copyright>
14+
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
15+
<PackageTags>volcengine,tls,c#,.net</PackageTags>
16+
<PackageProjectUrl>https://github.com/volcengine/ve-tls-dotnet-sdk</PackageProjectUrl>
17+
<PackageOutputPath>./nupkg</PackageOutputPath>
18+
<LangVersion>latest</LangVersion>
19+
<RootNamespace>TLSNetCore</RootNamespace>
20+
</PropertyGroup>
21+
22+
<ItemGroup>
23+
<Compile Include="..\VolcengineTls\Error\TlsError.cs">
24+
<Link>Error/TlsError.cs</Link>
25+
</Compile>
26+
<Compile Include="..\VolcengineTls\Pb\Log.cs">
27+
<Link>Pb/Log.cs</Link>
28+
</Compile>
29+
<Compile Include="..\VolcengineTls\Producer\ProducerAttempt.cs">
30+
<Link>Producer/ProducerAttempt.cs</Link>
31+
</Compile>
32+
<Compile Include="..\VolcengineTls\Producer\ProducerBatch.cs">
33+
<Link>Producer/ProducerBatch.cs</Link>
34+
</Compile>
35+
<Compile Include="..\VolcengineTls\Producer\ProducerConfig.cs">
36+
<Link>Producer/ProducerConfig.cs</Link>
37+
</Compile>
38+
<Compile Include="..\VolcengineTls\Producer\ProducerDispatcher.cs">
39+
<Link>Producer/ProducerDispatcher.cs</Link>
40+
</Compile>
41+
<Compile Include="..\VolcengineTls\Producer\ProducerImp.cs">
42+
<Link>Producer/ProducerImp.cs</Link>
43+
</Compile>
44+
<Compile Include="..\VolcengineTls\Producer\ProducerInterface.cs">
45+
<Link>Producer/ProducerInterface.cs</Link>
46+
</Compile>
47+
<Compile Include="..\VolcengineTls\Producer\ProducerResult.cs">
48+
<Link>Producer/ProducerResult.cs</Link>
49+
</Compile>
50+
<Compile Include="..\VolcengineTls\Producer\ProducerRetryQueue.cs">
51+
<Link>Producer/ProducerRetryQueue.cs</Link>
52+
</Compile>
53+
<Compile Include="..\VolcengineTls\Producer\ProducerSender.cs">
54+
<Link>Producer/ProducerSender.cs</Link>
55+
</Compile>
56+
<Compile Include="..\VolcengineTls\Producer\ProducerThreadPool.cs">
57+
<Link>Producer/ProducerThreadPool.cs</Link>
58+
</Compile>
59+
<Compile Include="..\VolcengineTls\Request\PutLogsRequest.cs">
60+
<Link>Request/PutLogsRequest.cs</Link>
61+
</Compile>
62+
<Compile Include="..\VolcengineTls\Request\PutLogsV2Request.cs">
63+
<Link>Request/PutLogsV2Request.cs</Link>
64+
</Compile>
65+
<Compile Include="..\VolcengineTls\Response\PutLogsResponse.cs">
66+
<Link>Response/PutLogsResponse.cs</Link>
67+
</Compile>
68+
<Compile Include="..\VolcengineTls\Response\CommonResponse.cs">
69+
<Link>Response/CommonResponse.cs</Link>
70+
</Compile>
71+
<Compile Include="..\VolcengineTls\Client.cs">
72+
<Link>Client.cs</Link>
73+
</Compile>
74+
<Compile Include="..\VolcengineTls\Consts.cs">
75+
<Link>Consts.cs</Link>
76+
</Compile>
77+
<Compile Include="..\VolcengineTls\IClient.cs">
78+
<Link>IClient.cs</Link>
79+
</Compile>
80+
<Compile Include="..\VolcengineTls\Logger.cs">
81+
<Link>Logger.cs</Link>
82+
</Compile>
83+
<Compile Include="..\VolcengineTls\Model.cs">
84+
<Link>Model.cs</Link>
85+
</Compile>
86+
<Compile Include="..\VolcengineTls\Retry.cs">
87+
<Link>Retry.cs</Link>
88+
</Compile>
89+
<Compile Include="..\VolcengineTls\Sign.cs">
90+
<Link>Sign.cs</Link>
91+
</Compile>
92+
<Compile Include="..\VolcengineTls\Utils.cs">
93+
<Link>Utils.cs</Link>
94+
</Compile>
95+
<Compile Include="..\VolcengineTls\VolcengineConfig.cs">
96+
<Link>VolcengineConfig.cs</Link>
97+
</Compile>
98+
</ItemGroup>
99+
100+
<ItemGroup>
101+
<PackageReference Include="Microsoft.NETFramework.ReferenceAssemblies" Version="1.0.3">
102+
<PrivateAssets>build</PrivateAssets>
103+
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
104+
</PackageReference>
105+
<PackageReference Include="Newtonsoft.Json" Version="13.0.3"/>
106+
</ItemGroup>
107+
108+
<ItemGroup>
109+
<PackageReference Include="Google.Protobuf" Version="3.28.3" />
110+
<PackageReference Include="Google.Protobuf.Tools" Version="3.28.3" PrivateAssets="All" />
111+
<PackageReference Include="K4os.Compression.LZ4" Version="1.3.8" />
112+
<PackageReference Include="Microsoft.Extensions.Logging" Version="9.0.6" />
113+
<PackageReference Include="Microsoft.Extensions.Logging.Console" Version="9.0.6" />
114+
<PackageReference Include="Microsoft.Extensions.Logging.Debug" Version="9.0.6" />
115+
</ItemGroup>
116+
</Project>

ve-tls-dotnet-sdk.sln

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "VolcengineTls.Tests", "Volc
88
EndProject
99
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "VolcengineTls.Examples", "VolcengineTls.Examples\VolcengineTls.Examples.csproj", "{B6256B16-FE07-4102-9CF9-0E240E41F50F}"
1010
EndProject
11+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "TLSNetCore6", "TLSNetCore6\TLSNetCore6.csproj", "{958CA96F-8ECE-4D94-833E-D171B605DA30}"
12+
EndProject
1113
Global
1214
GlobalSection(SolutionConfigurationPlatforms) = preSolution
1315
Debug|Any CPU = Debug|Any CPU
@@ -26,6 +28,10 @@ Global
2628
{B6256B16-FE07-4102-9CF9-0E240E41F50F}.Debug|Any CPU.Build.0 = Debug|Any CPU
2729
{B6256B16-FE07-4102-9CF9-0E240E41F50F}.Release|Any CPU.ActiveCfg = Release|Any CPU
2830
{B6256B16-FE07-4102-9CF9-0E240E41F50F}.Release|Any CPU.Build.0 = Release|Any CPU
31+
{958CA96F-8ECE-4D94-833E-D171B605DA30}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
32+
{958CA96F-8ECE-4D94-833E-D171B605DA30}.Debug|Any CPU.Build.0 = Debug|Any CPU
33+
{958CA96F-8ECE-4D94-833E-D171B605DA30}.Release|Any CPU.ActiveCfg = Release|Any CPU
34+
{958CA96F-8ECE-4D94-833E-D171B605DA30}.Release|Any CPU.Build.0 = Release|Any CPU
2935
EndGlobalSection
3036
GlobalSection(SolutionProperties) = preSolution
3137
HideSolutionNode = FALSE

0 commit comments

Comments
 (0)