aboutsummaryrefslogtreecommitdiffhomepage
path: root/examples/csharp/Helloworld/Greeter/Greeter.csproj
diff options
context:
space:
mode:
authorGravatar kkm <kkm@smartaction.com>2018-10-11 20:22:40 -0700
committerGravatar kkm <kkm@smartaction.com>2018-10-14 02:24:12 -0700
commit6fcb5b29e18268c8948d5bd99c14fca13f9d7b67 (patch)
treea33e6b46ab61a0d8434751d13ecd137e711f2e0c /examples/csharp/Helloworld/Greeter/Greeter.csproj
parentd0cb61eada9d270b9043ec866b55c88617d362be (diff)
Redo C# examples to use new Grpc.Tools
* No pre-compilation of proto files required; * Tested under Windows and Linux dotnet and mono; * But not tested on Mac/mono; * README updated.
Diffstat (limited to 'examples/csharp/Helloworld/Greeter/Greeter.csproj')
-rw-r--r--examples/csharp/Helloworld/Greeter/Greeter.csproj15
1 files changed, 6 insertions, 9 deletions
diff --git a/examples/csharp/Helloworld/Greeter/Greeter.csproj b/examples/csharp/Helloworld/Greeter/Greeter.csproj
index eba262565d..3421926dca 100644
--- a/examples/csharp/Helloworld/Greeter/Greeter.csproj
+++ b/examples/csharp/Helloworld/Greeter/Greeter.csproj
@@ -1,18 +1,15 @@
-<Project Sdk="Microsoft.NET.Sdk">
+<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
- <AssemblyTitle>Greeter</AssemblyTitle>
- <TargetFrameworks>netcoreapp2.1</TargetFrameworks>
- <DebugType>portable</DebugType>
- <AssemblyName>Greeter</AssemblyName>
- <PackageId>Greeter</PackageId>
+ <TargetFramework>netstandard1.5</TargetFramework>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Google.Protobuf" Version="3.6.1" />
- <PackageReference Include="Google.Protobuf.Tools" Version="3.6.1" />
- <PackageReference Include="Grpc" Version="1.14.1" />
- <PackageReference Include="Grpc.Tools" Version="1.14.1" />
+ <PackageReference Include="Grpc" Version="1.17.0" />
+ <PackageReference Include="Grpc.Tools" Version="1.17.0" PrivateAssets="All" />
+
+ <Protobuf Include="../../../protos/helloworld.proto" Link="helloworld.proto" />
</ItemGroup>
</Project>