添加Grpc.Core和Grpc.Tool并编写相应proto

Signed-off-by: Eicy <im@crash.work>
This commit is contained in:
2024-12-18 01:43:20 +08:00
parent 685b8e406f
commit 1051517140
4 changed files with 65 additions and 1 deletions

View File

@@ -9,7 +9,12 @@
<ItemGroup>
<PackageReference Include="Google.Protobuf" Version="3.29.1" />
<PackageReference Include="Grpc.AspNetCore" Version="2.67.0" />
<PackageReference Include="Grpc.Core" Version="2.46.6" />
<PackageReference Include="Grpc.Net.Client" Version="2.67.0" />
<PackageReference Include="Grpc.Tools" Version="2.68.1">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Lagrange.Core" Version="0.3.1" />
<PackageReference Include="Mono.Cecil" Version="0.11.6" />
<PackageReference Include="SSH.NET" Version="2024.2.0" />
@@ -19,6 +24,10 @@
<Compile Remove="Service\**" />
</ItemGroup>
<ItemGroup>
<Protobuf Include="API/service.proto" GrpcServices="Server" />
</ItemGroup>
<ItemGroup>
<EmbeddedResource Remove="Service\**" />
</ItemGroup>