Grpc.Tools 2.56.2

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Grpc.Tools --version 2.56.2                
NuGet\Install-Package Grpc.Tools -Version 2.56.2                
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.56.2">
  <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.56.2                
#r "nuget: Grpc.Tools, 2.56.2"                
#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.56.2

// Install Grpc.Tools as a Cake Tool
#tool nuget:?package=Grpc.Tools&version=2.56.2                

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 (120)

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.

Aspire.Hosting

Core abstractions for the .NET Aspire application model.

Aspire.Hosting.AppHost

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

Sitko.Core.Grpc

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

GitHub repositories (144)

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

Repository Stars
2dust/v2rayN
A GUI client for Windows and Linux, 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.67.0 558,700 10/8/2024
2.67.0-pre1 5,080 9/19/2024
2.66.0 1,578,021 8/26/2024
2.66.0-pre5 1,537 8/16/2024
2.66.0-pre3 3,106 8/8/2024
2.65.0 2,365,390 7/16/2024
2.65.0-pre1 26,986 6/14/2024
2.64.0 1,839,008 5/22/2024
2.64.0-pre1 4,815 5/8/2024
2.63.0 1,897,681 5/1/2024
2.62.0 4,263,698 2/21/2024
2.62.0-pre1 8,868 2/16/2024
2.61.0 2,148,118 2/2/2024
2.60.0 4,107,271 12/12/2023
2.60.0-pre1 82,395 11/15/2023
2.59.0 4,648,613 10/17/2023
2.58.0 2,502,317 9/8/2023
2.58.0-pre1 13,074 8/28/2023
2.57.0 2,569,075 8/10/2023
2.57.0-pre1 15,076 7/31/2023
2.56.2 856,246 7/17/2023
2.56.0 1,327,610 6/23/2023
2.55.1 1,942,510 6/22/2023
2.54.0 3,614,373 4/13/2023
2.54.0-pre2 397 4/13/2023
2.53.0 2,117,986 3/25/2023
2.53.0-pre2 5,854 3/17/2023
2.53.0-pre1 18,413 3/1/2023
2.52.0 2,919,760 3/1/2023
2.52.0-pre1 32,446 1/18/2023
2.51.0 5,271,594 12/7/2022
2.51.0-pre1 39,606 11/18/2022
2.50.0 3,597,353 10/17/2022
2.50.0-pre1 27,208 10/3/2022
2.49.1 952,996 9/27/2022
2.49.0 10,534,077 9/26/2022
2.49.0-pre3 10,376 9/2/2022
2.49.0-pre1 12,205 8/24/2022
2.48.1 824,330 9/1/2022
2.48.0 1,625,558 8/16/2022
2.48.0-pre1 25,670 7/6/2022
2.47.0 4,319,167 6/23/2022
2.47.0-pre1 505 6/22/2022
2.46.6 243,445 1/11/2023
2.46.5 75,500 9/26/2022
2.46.3 1,347,246 5/24/2022
2.46.1 2,044,315 5/12/2022
2.46.0-pre2 5,437 4/27/2022
2.46.0-pre1 11,034 4/19/2022
2.45.0 5,550,024 3/22/2022
2.45.0-pre1 9,725 3/10/2022
2.44.0 2,198,342 2/15/2022
2.44.0-pre2 5,156 1/27/2022
2.43.0 4,054,190 1/3/2022
2.43.0-pre1 6,398 12/7/2021
2.42.0 3,486,872 11/18/2021
2.42.0-pre1 6,638 11/8/2021
2.41.1 2,711,811 10/26/2021
2.41.0 1,796,298 9/30/2021
2.41.0-pre2 8,709 9/21/2021
2.40.0 5,714,610 9/7/2021
2.40.0-pre1 9,409 8/25/2021
2.39.1 1,479,076 8/13/2021
2.39.0-pre1 6,515 7/16/2021
2.38.1 1,355,047 6/22/2021
2.38.0 1,412,288 5/25/2021
2.38.0-pre1 7,073 5/11/2021
2.37.1 375,741 4/30/2021
2.37.0 3,102,755 4/8/2021
2.37.0-pre1 7,523 4/1/2021
2.36.4 548,916 3/22/2021
2.36.1 1,083,337 3/4/2021
2.36.0 165,175 2/24/2021
2.36.0-pre1 1,802 2/18/2021
2.35.0 1,260,121 1/21/2021
2.35.0-pre1 18,794 1/11/2021
2.34.1 389,556 1/14/2021
2.34.0 2,202,359 12/3/2020
2.34.0-pre1 15,861 11/23/2020
2.33.1 1,515,793 10/22/2020
2.33.0-pre1 3,530 10/12/2020
2.32.0 1,824,898 9/11/2020
2.32.0-pre1 13,471 9/3/2020
2.31.0 1,221,233 8/5/2020
2.31.0-pre2 5,981 7/29/2020
2.31.0-pre1 908 7/23/2020
2.30.0 1,182,951 6/24/2020
2.30.0-pre1 242,621 6/9/2020
2.29.0 1,299,613 5/14/2020
2.28.1 546,976 4/6/2020
2.28.0 47,604 4/6/2020
2.28.0-pre3 7,809 3/11/2020
2.28.0-pre2 3,538 3/5/2020
2.28.0-pre1 1,387 2/28/2020
2.27.0 2,882,400 2/5/2020
2.27.0-pre1 15,371 1/23/2020
2.26.0 2,330,490 12/18/2019
2.26.0-pre1 1,701 12/6/2019
2.25.0 2,388,356 11/6/2019
2.25.0-pre1 5,109 10/25/2019
2.24.0 911,007 9/26/2019
2.24.0-pre1 10,065 9/11/2019
2.23.1 11,398 10/1/2019
2.23.0 1,541,710 8/19/2019
2.23.0-pre1 3,897 8/5/2019
1.22.1 119,413 8/19/2019
1.22.0 405,222 7/3/2019
1.22.0-pre1 22,350 6/26/2019
1.21.0 590,459 5/22/2019
1.21.0-pre1 3,519 5/11/2019
1.20.1 105,753 4/26/2019
1.20.0 154,401 4/16/2019
1.20.0-pre3 19,648 4/9/2019
1.20.0-pre2 1,283 4/5/2019
1.20.0-pre1 1,400 4/1/2019
1.19.0 512,520 2/27/2019
1.19.0-pre1 5,977 2/15/2019
1.18.0 221,723 1/16/2019
1.18.0-pre1 956 1/8/2019
1.17.1 51,588 12/17/2018
1.17.0 305,117 12/5/2018
1.17.0-pre3 980 11/29/2018
1.17.0-pre1 1,067 11/21/2018
1.16.0 162,334 10/24/2018
1.16.0-pre1 1,348 10/9/2018
1.15.0 184,782 9/12/2018
1.15.0-pre1 1,423 8/29/2018
1.14.2 24,972 8/31/2018
1.14.2-pre1 973 8/22/2018
1.14.1 120,005 8/9/2018
1.14.0 6,032 8/3/2018
1.14.0-pre1 1,044 7/26/2018
1.13.1 192,613 7/16/2018
1.13.0 204,740 7/2/2018
1.13.0-pre1 1,315 6/12/2018
1.12.0 249,146 5/15/2018
1.12.0-pre1 1,269 5/6/2018
1.11.1 1,990 5/15/2018
1.11.1-pre1 1,086 5/6/2018
1.11.0 56,136 4/16/2018
1.11.0-pre2 1,216 4/11/2018
1.11.0-pre1 1,043 4/6/2018
1.10.1 9,936 4/6/2018
1.10.1-pre1 1,067 4/3/2018
1.10.0 130,953 3/2/2018
1.10.0-pre2 1,108 2/27/2018
1.10.0-pre1 1,007 2/23/2018
1.9.0 102,348 2/2/2018
1.9.0-pre3 1,449 1/31/2018
1.9.0-pre2 1,234 1/25/2018
1.8.6 5,736 1/31/2018
1.8.3 25,159 1/5/2018
1.8.0 264,398 12/13/2017
1.8.0-pre2 1,035 11/30/2017
1.8.0-pre1 959 11/29/2017
1.7.3 38,137 12/6/2017
1.7.1 15,272 10/31/2017
1.7.0 1,954 10/27/2017
1.7.0-pre1 1,023 10/20/2017
1.6.1 45,238 9/15/2017
1.6.0 19,308 8/30/2017
1.6.0-pre1 992 8/23/2017
1.4.1 39,394 6/29/2017
1.4.0 16,583 6/21/2017
1.3.6 11,425 5/25/2017
1.3.0 7,680 4/28/2017
1.2.2 19,923 4/5/2017
1.2.0 2,730 3/21/2017
1.2.0-pre1 1,892 3/15/2017
1.1.0 9,115 1/31/2017
1.1.0-pre1 1,026 1/27/2017
1.0.1 39,905 11/3/2016
1.0.1-pre1 1,151 10/10/2016
1.0.0 26,985 8/18/2016
1.0.0-pre2 1,108 8/12/2016
1.0.0-pre1 1,898 7/21/2016
0.15.0 17,448 6/27/2016
0.14.0 4,357 5/11/2016
0.13.1 7,789 4/1/2016
0.13.1-pre1 1,130 3/29/2016
0.13.0 3,396 2/13/2016
0.12.0 2,369 1/15/2016
0.7.1 2,514 9/23/2015
0.7.0 2,055 9/9/2015
0.6.1 2,408 7/31/2015
0.6.0 1,657 7/13/2015
0.5.1 1,484 6/5/2015
0.5.0 39,059 5/29/2015