Skip to content

Commit 2745e0b

Browse files
authored
Update gRPC template to use 2.52.0 (#47214)
1 parent 354efd4 commit 2745e0b

File tree

6 files changed

+35
-7
lines changed

6 files changed

+35
-7
lines changed

eng/Versions.props

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -257,12 +257,12 @@
257257
<CommandLineParserVersion>2.3.0</CommandLineParserVersion>
258258
<FSharpCoreVersion>6.0.0</FSharpCoreVersion>
259259
<GoogleApiCommonProtosVersion>2.5.0</GoogleApiCommonProtosVersion>
260-
<GoogleProtobufVersion>3.21.6</GoogleProtobufVersion>
261-
<GrpcAspNetCoreVersion>2.51.0</GrpcAspNetCoreVersion>
262-
<GrpcAspNetCoreServerVersion>2.51.0</GrpcAspNetCoreServerVersion>
263-
<GrpcAuthVersion>2.51.0</GrpcAuthVersion>
264-
<GrpcNetClientVersion>2.51.0</GrpcNetClientVersion>
265-
<GrpcToolsVersion>2.51.0</GrpcToolsVersion>
260+
<GoogleProtobufVersion>3.22.0</GoogleProtobufVersion>
261+
<GrpcAspNetCoreVersion>2.52.0</GrpcAspNetCoreVersion>
262+
<GrpcAspNetCoreServerVersion>2.52.0</GrpcAspNetCoreServerVersion>
263+
<GrpcAuthVersion>2.52.0</GrpcAuthVersion>
264+
<GrpcNetClientVersion>2.52.0</GrpcNetClientVersion>
265+
<GrpcToolsVersion>2.52.0</GrpcToolsVersion>
266266
<DuendeIdentityServerAspNetIdentityVersion>6.0.4</DuendeIdentityServerAspNetIdentityVersion>
267267
<DuendeIdentityServerEntityFrameworkVersion>6.0.4</DuendeIdentityServerEntityFrameworkVersion>
268268
<DuendeIdentityServerVersion>6.0.4</DuendeIdentityServerVersion>
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<Project>
2+
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory)..\, Directory.Build.props))\Directory.Build.props" />
3+
4+
<PropertyGroup>
5+
<!-- TODO: Remove when Grpc.Tools on MacOS 11 is fixed. See https://github.com/grpc/grpc/issues/32558 -->
6+
<ExcludeFromBuild Condition="'$(TargetOsName)' == 'osx'">true</ExcludeFromBuild>
7+
</PropertyGroup>
8+
9+
</Project>
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<Project>
2+
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory)..\, Directory.Build.props))\Directory.Build.props" />
3+
4+
<PropertyGroup>
5+
<!-- TODO: Remove when Grpc.Tools on MacOS 11 is fixed. See https://github.com/grpc/grpc/issues/32558 -->
6+
<ExcludeFromBuild Condition="'$(TargetOsName)' == 'osx'">true</ExcludeFromBuild>
7+
</PropertyGroup>
8+
9+
</Project>

src/Grpc/JsonTranscoding/perf/Microsoft.AspNetCore.Grpc.Microbenchmarks/Microsoft.AspNetCore.Grpc.Microbenchmarks.csproj

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@
66
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
77
<TieredCompilation>false</TieredCompilation>
88
<DefineConstants>$(DefineConstants);IS_BENCHMARKS</DefineConstants>
9+
<!-- TODO: Remove when Grpc.Tools on MacOS 11 is fixed. See https://github.com/grpc/grpc/issues/32558 -->
10+
<SkipMicrobenchmarksValidation>true</SkipMicrobenchmarksValidation>
911
</PropertyGroup>
1012

1113
<ItemGroup>
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<Project>
2+
<Import Project="$([MSBuild]::GetDirectoryNameOfFileAbove($(MSBuildThisFileDirectory)..\, Directory.Build.props))\Directory.Build.props" />
3+
4+
<PropertyGroup>
5+
<!-- TODO: Remove when Grpc.Tools on MacOS 11 is fixed. See https://github.com/grpc/grpc/issues/32558 -->
6+
<ExcludeFromBuild Condition="'$(TargetOsName)' == 'osx'">true</ExcludeFromBuild>
7+
</PropertyGroup>
8+
9+
</Project>

src/ProjectTemplates/Web.ProjectTemplates/GrpcService-CSharp.csproj.in

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616

1717
<ItemGroup>
1818
<PackageReference Include="Grpc.AspNetCore" Version="${GrpcAspNetCoreVersion}" />
19-
<PackageReference Include="Google.Protobuf" Version="3.22.0-rc2" />
2019
</ItemGroup>
2120

2221
</Project>

0 commit comments

Comments
 (0)