aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples
diff options
context:
space:
mode:
authorGravatar kkm <kkm@smartaction.com>2018-11-28 23:53:21 -0800
committerGravatar kkm <kkm@smartaction.com>2018-11-28 23:53:21 -0800
commita82070dc94086f85dfda485ec0d5aa10c3081bb0 (patch)
treee2707c9489e7474f9d946b20ea92b8c2f60d55ff /examples
parent6fcb5b29e18268c8948d5bd99c14fca13f9d7b67 (diff)
Add explicit ItemGroups to .csproj
Diffstat (limited to 'examples')
-rw-r--r--examples/csharp/Helloworld/Greeter/Greeter.csproj2
-rw-r--r--examples/csharp/RouteGuide/RouteGuide/RouteGuide.csproj5
2 files changed, 6 insertions, 1 deletions
diff --git a/examples/csharp/Helloworld/Greeter/Greeter.csproj b/examples/csharp/Helloworld/Greeter/Greeter.csproj
index 3421926dca..7989f79541 100644
--- a/examples/csharp/Helloworld/Greeter/Greeter.csproj
+++ b/examples/csharp/Helloworld/Greeter/Greeter.csproj
@@ -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>
diff --git a/examples/csharp/RouteGuide/RouteGuide/RouteGuide.csproj b/examples/csharp/RouteGuide/RouteGuide/RouteGuide.csproj
index 2d4f48ec2e..4c6949488c 100644
--- a/examples/csharp/RouteGuide/RouteGuide/RouteGuide.csproj
+++ b/examples/csharp/RouteGuide/RouteGuide/RouteGuide.csproj
@@ -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>