Update target frameworks in C# examples (#29047)

* Update target frameworks in examples.

* Update target frameworks and NuGets  in examples.

* upgrade Xds example

Co-authored-by: Jan Tattermusch <jtattermusch@google.com>
pull/29105/head
rburns1293 3 years ago committed by GitHub
parent 8cfff25907
commit 28db143b98
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      examples/csharp/Helloworld/Greeter/Greeter.csproj
  2. 2
      examples/csharp/Helloworld/GreeterClient/GreeterClient.csproj
  3. 2
      examples/csharp/Helloworld/GreeterServer/GreeterServer.csproj
  4. 8
      examples/csharp/RouteGuide/RouteGuide/RouteGuide.csproj
  5. 2
      examples/csharp/RouteGuide/RouteGuideClient/RouteGuideClient.csproj
  6. 2
      examples/csharp/RouteGuide/RouteGuideServer/RouteGuideServer.csproj
  7. 10
      examples/csharp/Xds/Greeter/Greeter.csproj
  8. 2
      examples/csharp/Xds/GreeterClient/GreeterClient.csproj
  9. 2
      examples/csharp/Xds/GreeterServer/GreeterServer.csproj

@ -5,9 +5,9 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Google.Protobuf" Version="3.15.0" />
<PackageReference Include="Grpc" Version="2.23.0" />
<PackageReference Include="Grpc.Tools" Version="2.23.0" PrivateAssets="All" />
<PackageReference Include="Google.Protobuf" Version="3.19.4" />
<PackageReference Include="Grpc" Version="2.44.0" />
<PackageReference Include="Grpc.Tools" Version="2.44.0" PrivateAssets="All" />
</ItemGroup>
<ItemGroup>

@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netcoreapp2.1</TargetFramework>
<TargetFramework>netcoreapp3.1</TargetFramework>
<OutputType>Exe</OutputType>
</PropertyGroup>

@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netcoreapp2.1</TargetFramework>
<TargetFramework>netcoreapp3.1</TargetFramework>
<OutputType>Exe</OutputType>
</PropertyGroup>

@ -5,10 +5,10 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Google.Protobuf" Version="3.15.0" />
<PackageReference Include="Grpc" Version="2.23.0" />
<PackageReference Include="Grpc.Tools" Version="2.23.0" PrivateAssets="All" />
<PackageReference Include="Newtonsoft.Json" Version="9.0.1" />
<PackageReference Include="Google.Protobuf" Version="3.19.4" />
<PackageReference Include="Grpc" Version="2.44.0" />
<PackageReference Include="Grpc.Tools" Version="2.44.0" PrivateAssets="All" />
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
</ItemGroup>
<ItemGroup>

@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netcoreapp2.1</TargetFramework>
<TargetFramework>netcoreapp3.1</TargetFramework>
<OutputType>Exe</OutputType>
</PropertyGroup>

@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netcoreapp2.1</TargetFramework>
<TargetFramework>netcoreapp3.1</TargetFramework>
<OutputType>Exe</OutputType>
</PropertyGroup>

@ -5,12 +5,12 @@
</PropertyGroup>
<ItemGroup>
<PackageReference Include="Google.Protobuf" Version="3.15.0" />
<PackageReference Include="Grpc.Core" Version="2.29.0" />
<PackageReference Include="Grpc.HealthCheck" Version="2.29.0" />
<PackageReference Include="Grpc.Reflection" Version="2.29.0"/>
<PackageReference Include="Google.Protobuf" Version="3.19.4" />
<PackageReference Include="Grpc.Core" Version="2.44.0" />
<PackageReference Include="Grpc.HealthCheck" Version="2.44.0" />
<PackageReference Include="Grpc.Reflection" Version="2.44.0"/>
<PackageReference Include="CommandLineParser" Version="2.8.0" />
<PackageReference Include="Grpc.Tools" Version="2.29.0" PrivateAssets="All" />
<PackageReference Include="Grpc.Tools" Version="2.44.0" PrivateAssets="All" />
</ItemGroup>
<ItemGroup>

@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netcoreapp2.1</TargetFramework>
<TargetFramework>netcoreapp3.1</TargetFramework>
<OutputType>Exe</OutputType>
</PropertyGroup>

@ -1,7 +1,7 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>netcoreapp2.1</TargetFramework>
<TargetFramework>netcoreapp3.1</TargetFramework>
<OutputType>Exe</OutputType>
</PropertyGroup>

Loading…
Cancel
Save