Skip to content

Commit e24f480

Browse files
add versioning
1 parent 9bf91de commit e24f480

File tree

5 files changed

+3
-3
lines changed

5 files changed

+3
-3
lines changed

ConsoleAppGRPC/ConsoleAppGRPC.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
</ItemGroup>
3030

3131
<ItemGroup>
32-
<Protobuf Include="Protos\country.proto" GrpcServices="Client" />
32+
<Protobuf Include="Protos\v1\country.proto" GrpcServices="Client" />
3333
</ItemGroup>
3434

3535
</Project>

ConsoleAppGRPC/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,12 @@
88
using System.Linq;
99
using System.Net.Http;
1010
using System.Threading.Tasks;
11-
using static DemoGrpc.Protobufs.V1.CountryService;
1211
using Grpc.Net.Client.Web;
1312
using Grpc.Net.Client;
1413
using System.Net;
1514
using DemoGrpc.Protobufs.V1;
1615
using Microsoft.Extensions.Logging;
16+
using static DemoGrpc.Protobufs.V1.CountryService;
1717

1818
namespace ConsoleAppGRPC
1919
{

DemoGrpc.Web/DemoGrpc.Web.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
</PropertyGroup>
77

88
<ItemGroup>
9-
<Protobuf Include="Protos\country.proto" GrpcServices="Server" />
9+
<Protobuf Include="Protos\v1\country.proto" GrpcServices="Server" />
1010
</ItemGroup>
1111

1212
<ItemGroup>

0 commit comments

Comments
 (0)