Skip to content

Commit

Permalink
Add explicit ItemGroups to .csproj
Browse files Browse the repository at this point in the history
  • Loading branch information
kkm committed Nov 29, 2018
1 parent 6fcb5b2 commit a82070d
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 2 additions & 0 deletions examples/csharp/Helloworld/Greeter/Greeter.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@
<PackageReference Include="Google.Protobuf" Version="3.6.1" />
<PackageReference Include="Grpc" Version="1.17.0" />
<PackageReference Include="Grpc.Tools" Version="1.17.0" PrivateAssets="All" />
</ItemGroup>

<ItemGroup>
<Protobuf Include="../../../protos/helloworld.proto" Link="helloworld.proto" />
</ItemGroup>

Expand Down
5 changes: 4 additions & 1 deletion examples/csharp/RouteGuide/RouteGuide/RouteGuide.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@
</ItemGroup>

<ItemGroup>
<ProtoBuf Include="..\..\..\protos\route_guide.proto" Link="protos\route_guide.proto" />
<Protobuf Include="..\..\..\protos\route_guide.proto" Link="protos\route_guide.proto" />
</ItemGroup>

<ItemGroup>
<None Include="route_guide_db.json" CopyToOutputDirectory="PreserveNewest" />
</ItemGroup>

Expand Down

0 comments on commit a82070d

Please sign in to comment.