Skip to content

Commit

Permalink
Move proto to another project
Browse files Browse the repository at this point in the history
  • Loading branch information
oveldman committed Mar 20, 2024
1 parent 7eec2ee commit 34273dc
Show file tree
Hide file tree
Showing 7 changed files with 33 additions and 6 deletions.
23 changes: 23 additions & 0 deletions sources/ClientSdk.Grpc/ClientSdk.Grpc.csproj
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<RootNamespace>MadWorldNL.ClientSdk.Grpc</RootNamespace>
<AssemblyName>$(RootNamespace)</AssemblyName>
</PropertyGroup>

<ItemGroup>
<Protobuf Include="Protos\account.proto" GrpcServices="Both"/>
<Protobuf Include="Protos\authentication.proto" GrpcServices="Both"/>
<Protobuf Include="Protos\usermanager.proto" GrpcServices="Both"/>
</ItemGroup>

<ItemGroup>
<PackageReference Include="Google.Protobuf" />
<PackageReference Include="Grpc.Net.Client" />
<PackageReference Include="Grpc.Tools">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
</ItemGroup>

</Project>
File renamed without changes.
2 changes: 2 additions & 0 deletions sources/Directory.Packages.props
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
<Project>
<ItemGroup>
<PackageVersion Include="Google.Protobuf" Version="3.26.0" />
<PackageVersion Include="Grpc.AspNetCore" Version="2.61.0" />
<PackageVersion Include="Grpc.AspNetCore.Server.Reflection" Version="2.61.0" />
<PackageVersion Include="Grpc.Net.Client" Version="2.61.0" />
<PackageVersion Include="Grpc.Tools" Version="2.62.0" />
<PackageVersion Include="MadWorldNL.Common" Version="1.0.3" />
<PackageVersion Include="MadWorldNL.Common.AspNetCore" Version="1.0.3" />
<PackageVersion Include="MadWorldNL.Common.Grpc" Version="1.0.3" />
Expand Down
7 changes: 7 additions & 0 deletions sources/MadWorldNL.Identity.sln
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Workflows", "Workflows", "{
..\.github\workflows\build-admin-web.yaml = ..\.github\workflows\build-admin-web.yaml
EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ClientSdk.Grpc", "ClientSdk.Grpc\ClientSdk.Grpc.csproj", "{9963EC55-AADF-4940-AE11-EBCD9F372920}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand All @@ -57,6 +59,7 @@ Global
{DC343525-26E7-417E-9140-5DB722D44A62} = {FD69CCDE-B746-4AAF-B04C-9628249B7AD1}
{60C2824A-17C1-4019-8749-65AE0448E5B3} = {0336D5D8-8B04-4701-804F-158356ED9475}
{6612E52A-5F38-4585-8F9C-F0F027020BBD} = {1648BD75-33AE-4918-AD6A-D12B0A3BC52F}
{9963EC55-AADF-4940-AE11-EBCD9F372920} = {4FEA52A1-D597-4D02-A23B-15E6E41589DF}
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{2B04007E-B2D9-4E8B-82D2-C553CD5F3DA2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
Expand All @@ -83,5 +86,9 @@ Global
{60C2824A-17C1-4019-8749-65AE0448E5B3}.Debug|Any CPU.Build.0 = Debug|Any CPU
{60C2824A-17C1-4019-8749-65AE0448E5B3}.Release|Any CPU.ActiveCfg = Release|Any CPU
{60C2824A-17C1-4019-8749-65AE0448E5B3}.Release|Any CPU.Build.0 = Release|Any CPU
{9963EC55-AADF-4940-AE11-EBCD9F372920}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{9963EC55-AADF-4940-AE11-EBCD9F372920}.Debug|Any CPU.Build.0 = Debug|Any CPU
{9963EC55-AADF-4940-AE11-EBCD9F372920}.Release|Any CPU.ActiveCfg = Release|Any CPU
{9963EC55-AADF-4940-AE11-EBCD9F372920}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
EndGlobal
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,6 @@
<DockerDefaultTargetOS>Linux</DockerDefaultTargetOS>
</PropertyGroup>

<ItemGroup>
<Protobuf Include="Protos\account.proto" GrpcServices="Both"/>
<Protobuf Include="Protos\authentication.proto" GrpcServices="Both"/>
<Protobuf Include="Protos\usermanager.proto" GrpcServices="Both"/>
</ItemGroup>

<ItemGroup>
<PackageReference Include="Grpc.AspNetCore" />
<PackageReference Include="Grpc.AspNetCore.Server.Reflection" />
Expand All @@ -38,6 +32,7 @@
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\ClientSdk.Grpc\ClientSdk.Grpc.csproj" />
<ProjectReference Include="..\Server.Application\Server.Application.csproj" />
<ProjectReference Include="..\Server.Domain\Server.Domain.csproj" />
<ProjectReference Include="..\Server.Infrastructure\Server.Infrastructure.csproj" />
Expand Down

0 comments on commit 34273dc

Please sign in to comment.