Grpc.Tools 2.53.0-pre2

Prefix Reserved
This is a prerelease version of Grpc.Tools.
There is a newer version of this package available.
See the version list below for details.
dotnet add package Grpc.Tools --version 2.53.0-pre2                
NuGet\Install-Package Grpc.Tools -Version 2.53.0-pre2                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Grpc.Tools" Version="2.53.0-pre2">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Grpc.Tools --version 2.53.0-pre2                
#r "nuget: Grpc.Tools, 2.53.0-pre2"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Grpc.Tools as a Cake Addin
#addin nuget:?package=Grpc.Tools&version=2.53.0-pre2&prerelease

// Install Grpc.Tools as a Cake Tool
#tool nuget:?package=Grpc.Tools&version=2.53.0-pre2&prerelease                

Grpc.Tools - Protocol Buffers/gRPC C# Code Generation Build Integration

This package provides C# tooling support for generating C# code from .proto files in .csproj projects:

  • It contains protocol buffers compiler and gRPC plugin to generate C# code.
  • It can be used in building both grpc-dotnet projects and legacy c-core C# projects.

The package is used to automatically generate the C# code for protocol buffer messages and gRPC service stubs from .proto files. These files:

  • are generated on an as-needed basis each time the project is built.
  • aren't added to the project or checked into source control.
  • are a build artifact usually contained in the obj directory.

This package is optional. You may instead choose to generate the C# source files from .proto files by running the protoc compiler manually or from a script.

Simple example

To add a .proto file to a project edit the project’s .csproj file and add an item group with a <Protobuf> element that refers to the .proto file, e.g.

<ItemGroup>
    <Protobuf Include="Protos\greet.proto" />
</ItemGroup>

For more complex examples and detailed information on how to use this package see: BUILD-INTEGRATION.md

Product Compatible and additional computed target framework versions.
native native is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • .NETFramework 4.5

    • No dependencies.
  • .NETStandard 1.3

    • No dependencies.

NuGet packages (110)

Showing the top 5 NuGet packages that depend on Grpc.Tools:

Package Downloads
Grpc.AspNetCore

gRPC meta-package for ASP.NET Core

Grpc.Gcp

Extension supporting Google Cloud Platform specific features for gRPC.

Sitko.Core.Grpc

Sitko.Core is a set of libraries to help build .NET Core applications fast

Aspire.Hosting.AppHost

Core library and MSBuild logic for .NET Aspire AppHost projects.

Dolittle.Protobuf.MSBuild

Dolittle is a platform designed to build Line of Business applications without sacrificing architectural quality, code quality or scalability.

GitHub repositories (140)

Showing the top 5 popular GitHub repositories that depend on Grpc.Tools:

Repository Stars
2dust/v2rayN
A GUI client for Windows, support Xray core and v2fly core and others
dotnet/runtime
.NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.
rocksdanister/lively
Free and open-source software that allows users to set animated desktop wallpapers and screensavers powered by WinUI 3.
dotnet/AspNetCore.Docs
Documentation for ASP.NET Core
dotnet/orleans
Cloud Native application framework for .NET
Version Downloads Last updated
2.66.0 23,278 8/26/2024
2.66.0-pre5 798 8/16/2024
2.66.0-pre3 1,076 8/8/2024
2.65.0 706,780 7/16/2024
2.65.0-pre1 10,912 6/14/2024
2.64.0 1,197,308 5/22/2024
2.64.0-pre1 4,438 5/8/2024
2.63.0 1,224,653 5/1/2024
2.62.0 3,287,484 2/21/2024
2.62.0-pre1 8,804 2/16/2024
2.61.0 1,809,226 2/2/2024
2.60.0 3,403,466 12/12/2023
2.60.0-pre1 81,239 11/15/2023
2.59.0 3,895,989 10/17/2023
2.58.0 2,195,603 9/8/2023
2.58.0-pre1 11,580 8/28/2023
2.57.0 2,244,562 8/10/2023
2.57.0-pre1 14,600 7/31/2023
2.56.2 804,102 7/17/2023
2.56.0 1,194,764 6/23/2023
2.55.1 1,712,586 6/22/2023
2.54.0 3,453,641 4/13/2023
2.54.0-pre2 350 4/13/2023
2.53.0 2,009,990 3/25/2023
2.53.0-pre2 5,505 3/17/2023
2.53.0-pre1 17,252 3/1/2023
2.52.0 2,698,762 3/1/2023
2.52.0-pre1 31,860 1/18/2023
2.51.0 4,980,294 12/7/2022
2.51.0-pre1 36,370 11/18/2022
2.50.0 3,429,802 10/17/2022
2.50.0-pre1 27,090 10/3/2022
2.49.1 909,619 9/27/2022
2.49.0 8,002,092 9/26/2022
2.49.0-pre3 9,191 9/2/2022
2.49.0-pre1 12,133 8/24/2022
2.48.1 809,517 9/1/2022
2.48.0 1,431,339 8/16/2022
2.48.0-pre1 25,418 7/6/2022
2.47.0 4,095,905 6/23/2022
2.47.0-pre1 458 6/22/2022
2.46.6 196,479 1/11/2023
2.46.5 75,133 9/26/2022
2.46.3 1,285,233 5/24/2022
2.46.1 1,971,720 5/12/2022
2.46.0-pre2 5,220 4/27/2022
2.46.0-pre1 10,995 4/19/2022
2.45.0 4,812,692 3/22/2022
2.45.0-pre1 9,670 3/10/2022
2.44.0 2,139,676 2/15/2022
2.44.0-pre2 5,107 1/27/2022
2.43.0 3,828,386 1/3/2022
2.43.0-pre1 6,288 12/7/2021
2.42.0 3,293,172 11/18/2021
2.42.0-pre1 6,597 11/8/2021
2.41.1 2,607,212 10/26/2021
2.41.0 1,757,583 9/30/2021
2.41.0-pre2 8,675 9/21/2021
2.40.0 5,569,241 9/7/2021
2.40.0-pre1 8,911 8/25/2021
2.39.1 1,447,269 8/13/2021
2.39.0-pre1 6,269 7/16/2021
2.38.1 1,313,493 6/22/2021
2.38.0 1,369,443 5/25/2021
2.38.0-pre1 6,947 5/11/2021
2.37.1 370,052 4/30/2021
2.37.0 3,039,092 4/8/2021
2.37.0-pre1 7,473 4/1/2021
2.36.4 538,970 3/22/2021
2.36.1 1,059,459 3/4/2021
2.36.0 162,973 2/24/2021
2.36.0-pre1 1,762 2/18/2021
2.35.0 1,242,718 1/21/2021
2.35.0-pre1 18,742 1/11/2021
2.34.1 387,360 1/14/2021
2.34.0 2,180,078 12/3/2020
2.34.0-pre1 15,822 11/23/2020
2.33.1 1,493,161 10/22/2020
2.33.0-pre1 3,490 10/12/2020
2.32.0 1,795,413 9/11/2020
2.32.0-pre1 13,410 9/3/2020
2.31.0 1,207,881 8/5/2020
2.31.0-pre2 5,913 7/29/2020
2.31.0-pre1 870 7/23/2020
2.30.0 1,167,542 6/24/2020
2.30.0-pre1 239,928 6/9/2020
2.29.0 1,278,917 5/14/2020
2.28.1 538,586 4/6/2020
2.28.0 45,811 4/6/2020
2.28.0-pre3 7,767 3/11/2020
2.28.0-pre2 3,430 3/5/2020
2.28.0-pre1 1,351 2/28/2020
2.27.0 2,850,966 2/5/2020
2.27.0-pre1 15,312 1/23/2020
2.26.0 2,323,988 12/18/2019
2.26.0-pre1 1,667 12/6/2019
2.25.0 2,373,760 11/6/2019
2.25.0-pre1 5,058 10/25/2019
2.24.0 907,904 9/26/2019
2.24.0-pre1 10,012 9/11/2019
2.23.1 11,351 10/1/2019
2.23.0 1,498,195 8/19/2019
2.23.0-pre1 3,858 8/5/2019
1.22.1 115,703 8/19/2019
1.22.0 396,355 7/3/2019
1.22.0-pre1 22,239 6/26/2019
1.21.0 589,533 5/22/2019
1.21.0-pre1 3,482 5/11/2019
1.20.1 105,516 4/26/2019
1.20.0 153,864 4/16/2019
1.20.0-pre3 19,599 4/9/2019
1.20.0-pre2 1,249 4/5/2019
1.20.0-pre1 1,367 4/1/2019
1.19.0 508,103 2/27/2019
1.19.0-pre1 5,930 2/15/2019
1.18.0 220,879 1/16/2019
1.18.0-pre1 922 1/8/2019
1.17.1 51,288 12/17/2018
1.17.0 301,381 12/5/2018
1.17.0-pre3 947 11/29/2018
1.17.0-pre1 1,035 11/21/2018
1.16.0 157,582 10/24/2018
1.16.0-pre1 1,315 10/9/2018
1.15.0 184,263 9/12/2018
1.15.0-pre1 1,391 8/29/2018
1.14.2 24,858 8/31/2018
1.14.2-pre1 940 8/22/2018
1.14.1 118,187 8/9/2018
1.14.0 5,990 8/3/2018
1.14.0-pre1 1,018 7/26/2018
1.13.1 191,316 7/16/2018
1.13.0 177,663 7/2/2018
1.13.0-pre1 1,288 6/12/2018
1.12.0 246,218 5/15/2018
1.12.0-pre1 1,236 5/6/2018
1.11.1 1,940 5/15/2018
1.11.1-pre1 1,054 5/6/2018
1.11.0 55,139 4/16/2018
1.11.0-pre2 1,183 4/11/2018
1.11.0-pre1 1,009 4/6/2018
1.10.1 9,870 4/6/2018
1.10.1-pre1 1,037 4/3/2018
1.10.0 129,739 3/2/2018
1.10.0-pre2 1,075 2/27/2018
1.10.0-pre1 976 2/23/2018
1.9.0 101,253 2/2/2018
1.9.0-pre3 1,420 1/31/2018
1.9.0-pre2 1,200 1/25/2018
1.8.6 5,242 1/31/2018
1.8.3 25,058 1/5/2018
1.8.0 257,301 12/13/2017
1.8.0-pre2 1,003 11/30/2017
1.8.0-pre1 926 11/29/2017
1.7.3 37,255 12/6/2017
1.7.1 15,191 10/31/2017
1.7.0 1,918 10/27/2017
1.7.0-pre1 993 10/20/2017
1.6.1 45,175 9/15/2017
1.6.0 19,140 8/30/2017
1.6.0-pre1 962 8/23/2017
1.4.1 39,221 6/29/2017
1.4.0 16,524 6/21/2017
1.3.6 11,389 5/25/2017
1.3.0 7,598 4/28/2017
1.2.2 19,078 4/5/2017
1.2.0 2,675 3/21/2017
1.2.0-pre1 1,861 3/15/2017
1.1.0 9,051 1/31/2017
1.1.0-pre1 997 1/27/2017
1.0.1 39,415 11/3/2016
1.0.1-pre1 1,125 10/10/2016
1.0.0 26,886 8/18/2016
1.0.0-pre2 1,074 8/12/2016
1.0.0-pre1 1,871 7/21/2016
0.15.0 17,373 6/27/2016
0.14.0 4,322 5/11/2016
0.13.1 7,486 4/1/2016
0.13.1-pre1 1,101 3/29/2016
0.13.0 3,362 2/13/2016
0.12.0 2,334 1/15/2016
0.7.1 2,479 9/23/2015
0.7.0 2,003 9/9/2015
0.6.1 2,350 7/31/2015
0.6.0 1,618 7/13/2015
0.5.1 1,457 6/5/2015
0.5.0 33,505 5/29/2015