Add explicit ItemGroups to .csproj

pull/14684/head
kkm 6 years ago
parent 6fcb5b29e1
commit a82070dc94
  1. 2
      examples/csharp/Helloworld/Greeter/Greeter.csproj
  2. 5
      examples/csharp/RouteGuide/RouteGuide/RouteGuide.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>

@ -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>

Loading…
Cancel
Save