Grpc.Tools 2.68.1

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.68.1                
NuGet\Install-Package Grpc.Tools -Version 2.68.1                
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.68.1">
  <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.68.1                
#r "nuget: Grpc.Tools, 2.68.1"                
#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.68.1

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

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

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

  • .NETFramework 4.5

    • No dependencies.
  • .NETStandard 1.3

    • No dependencies.

NuGet packages (119)

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

Package Downloads
Grpc.AspNetCore

gRPC meta-package for ASP.NET Core

Aspire.Hosting

Core abstractions for the .NET Aspire application model.

Aspire.Hosting.AppHost

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

Grpc.Gcp

Extension supporting Google Cloud Platform specific features for gRPC.

Aspire.Hosting.Azure

Azure resource types for .NET Aspire.

GitHub repositories (149)

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

Repository Stars
bitwarden/server
Bitwarden infrastructure/backend (API, database, Docker, etc).
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
nilaoda/BBDown
Bilibili Downloader. 一个命令行式哔哩哔哩下载器.
Version Downloads Last updated
2.70.0 59,744 2/25/2025
2.69.0 1,324,580 1/8/2025
2.69.0-pre1 4,745 12/13/2024
2.68.1 839,382 12/4/2024
2.67.0 3,863,437 10/8/2024
2.67.0-pre1 9,045 9/19/2024
2.66.0 3,914,851 8/26/2024
2.66.0-pre5 2,539 8/16/2024
2.66.0-pre3 4,352 8/8/2024
2.65.0 3,447,836 7/16/2024
2.65.0-pre1 42,042 6/14/2024
2.64.0 2,465,653 5/22/2024
2.64.0-pre1 5,107 5/8/2024
2.63.0 2,496,455 5/1/2024
2.62.0 5,435,161 2/21/2024
2.62.0-pre1 8,946 2/16/2024
2.61.0 2,533,121 2/2/2024
2.60.0 4,870,418 12/12/2023
2.60.0-pre1 83,247 11/15/2023
2.59.0 5,594,539 10/17/2023
2.58.0 2,834,875 9/8/2023
2.58.0-pre1 14,873 8/28/2023
2.57.0 3,024,652 8/10/2023
2.57.0-pre1 15,933 7/31/2023
2.56.2 926,668 7/17/2023
2.56.0 1,494,753 6/23/2023
2.55.1 2,239,356 6/22/2023
2.54.0 3,766,017 4/13/2023
2.54.0-pre2 439 4/13/2023
2.53.0 2,240,453 3/25/2023
2.53.0-pre2 6,176 3/17/2023
2.53.0-pre1 19,212 3/1/2023
2.52.0 3,210,829 3/1/2023
2.52.0-pre1 33,045 1/18/2023
2.51.0 5,641,275 12/7/2022
2.51.0-pre1 45,450 11/18/2022
2.50.0 3,818,651 10/17/2022
2.50.0-pre1 27,320 10/3/2022
2.49.1 1,008,121 9/27/2022
2.49.0 14,249,614 9/26/2022
2.49.0-pre3 10,663 9/2/2022
2.49.0-pre1 12,296 8/24/2022
2.48.1 846,132 9/1/2022
2.48.0 1,875,036 8/16/2022
2.48.0-pre1 26,076 7/6/2022
2.47.0 4,585,942 6/23/2022
2.47.0-pre1 550 6/22/2022
2.46.6 323,889 1/11/2023
2.46.5 77,147 9/26/2022
2.46.3 1,411,497 5/24/2022
2.46.1 2,128,414 5/12/2022
2.46.0-pre2 5,718 4/27/2022
2.46.0-pre1 11,116 4/19/2022
2.45.0 6,506,401 3/22/2022
2.45.0-pre1 9,767 3/10/2022
2.44.0 2,269,712 2/15/2022
2.44.0-pre2 5,222 1/27/2022
2.43.0 4,299,426 1/3/2022
2.43.0-pre1 6,578 12/7/2021
2.42.0 3,729,323 11/18/2021
2.42.0-pre1 6,736 11/8/2021
2.41.1 2,806,818 10/26/2021
2.41.0 1,840,293 9/30/2021
2.41.0-pre2 8,758 9/21/2021
2.40.0 5,890,224 9/7/2021
2.40.0-pre1 10,352 8/25/2021
2.39.1 1,511,450 8/13/2021
2.39.0-pre1 6,712 7/16/2021
2.38.1 1,396,747 6/22/2021
2.38.0 1,463,921 5/25/2021
2.38.0-pre1 7,169 5/11/2021
2.37.1 383,086 4/30/2021
2.37.0 3,170,970 4/8/2021
2.37.0-pre1 7,574 4/1/2021
2.36.4 562,063 3/22/2021
2.36.1 1,118,000 3/4/2021
2.36.0 168,692 2/24/2021
2.36.0-pre1 1,845 2/18/2021
2.35.0 1,278,004 1/21/2021
2.35.0-pre1 18,875 1/11/2021
2.34.1 393,747 1/14/2021
2.34.0 2,227,912 12/3/2020
2.34.0-pre1 15,920 11/23/2020
2.33.1 1,542,614 10/22/2020
2.33.0-pre1 3,647 10/12/2020
2.32.0 1,867,456 9/11/2020
2.32.0-pre1 13,610 9/3/2020
2.31.0 1,231,917 8/5/2020
2.31.0-pre2 6,038 7/29/2020
2.31.0-pre1 954 7/23/2020
2.30.0 1,212,528 6/24/2020
2.30.0-pre1 244,600 6/9/2020
2.29.0 1,334,349 5/14/2020
2.28.1 558,912 4/6/2020
2.28.0 50,606 4/6/2020
2.28.0-pre3 7,866 3/11/2020
2.28.0-pre2 3,605 3/5/2020
2.28.0-pre1 1,437 2/28/2020
2.27.0 2,917,494 2/5/2020
2.27.0-pre1 15,452 1/23/2020
2.26.0 2,339,503 12/18/2019
2.26.0-pre1 1,751 12/6/2019
2.25.0 2,403,020 11/6/2019
2.25.0-pre1 5,166 10/25/2019
2.24.0 916,327 9/26/2019
2.24.0-pre1 10,141 9/11/2019
2.23.1 11,491 10/1/2019
2.23.0 1,597,993 8/19/2019
2.23.0-pre1 3,945 8/5/2019
1.22.1 125,036 8/19/2019
1.22.0 417,549 7/3/2019
1.22.0-pre1 22,607 6/26/2019
1.21.0 591,395 5/22/2019
1.21.0-pre1 3,571 5/11/2019
1.20.1 106,173 4/26/2019
1.20.0 155,139 4/16/2019
1.20.0-pre3 19,709 4/9/2019
1.20.0-pre2 1,341 4/5/2019
1.20.0-pre1 1,448 4/1/2019
1.19.0 514,972 2/27/2019
1.19.0-pre1 6,042 2/15/2019
1.18.0 222,845 1/16/2019
1.18.0-pre1 1,004 1/8/2019
1.17.1 52,254 12/17/2018
1.17.0 309,778 12/5/2018
1.17.0-pre3 1,044 11/29/2018
1.17.0-pre1 1,126 11/21/2018
1.16.0 168,120 10/24/2018
1.16.0-pre1 1,407 10/9/2018
1.15.0 185,456 9/12/2018
1.15.0-pre1 1,485 8/29/2018
1.14.2 25,071 8/31/2018
1.14.2-pre1 1,045 8/22/2018
1.14.1 122,639 8/9/2018
1.14.0 6,171 8/3/2018
1.14.0-pre1 1,122 7/26/2018
1.13.1 195,093 7/16/2018
1.13.0 224,430 7/2/2018
1.13.0-pre1 1,414 6/12/2018
1.12.0 253,256 5/15/2018
1.12.0-pre1 1,377 5/6/2018
1.11.1 2,128 5/15/2018
1.11.1-pre1 1,189 5/6/2018
1.11.0 57,951 4/16/2018
1.11.0-pre2 1,325 4/11/2018
1.11.0-pre1 1,146 4/6/2018
1.10.1 10,094 4/6/2018
1.10.1-pre1 1,170 4/3/2018
1.10.0 132,364 3/2/2018
1.10.0-pre2 1,211 2/27/2018
1.10.0-pre1 1,084 2/23/2018
1.9.0 103,361 2/2/2018
1.9.0-pre3 1,553 1/31/2018
1.9.0-pre2 1,314 1/25/2018
1.8.6 6,256 1/31/2018
1.8.3 25,388 1/5/2018
1.8.0 264,886 12/13/2017
1.8.0-pre2 1,121 11/30/2017
1.8.0-pre1 1,043 11/29/2017
1.7.3 39,241 12/6/2017
1.7.1 15,402 10/31/2017
1.7.0 2,066 10/27/2017
1.7.0-pre1 1,106 10/20/2017
1.6.1 45,419 9/15/2017
1.6.0 19,463 8/30/2017
1.6.0-pre1 1,095 8/23/2017
1.4.1 39,530 6/29/2017
1.4.0 16,697 6/21/2017
1.3.6 11,539 5/25/2017
1.3.0 7,817 4/28/2017
1.2.2 21,189 4/5/2017
1.2.0 2,840 3/21/2017
1.2.0-pre1 1,977 3/15/2017
1.1.0 9,247 1/31/2017
1.1.0-pre1 1,112 1/27/2017
1.0.1 40,328 11/3/2016
1.0.1-pre1 1,238 10/10/2016
1.0.0 27,209 8/18/2016
1.0.0-pre2 1,192 8/12/2016
1.0.0-pre1 1,992 7/21/2016
0.15.0 17,582 6/27/2016
0.14.0 4,466 5/11/2016
0.13.1 7,995 4/1/2016
0.13.1-pre1 1,226 3/29/2016
0.13.0 3,521 2/13/2016
0.12.0 2,496 1/15/2016
0.7.1 2,610 9/23/2015
0.7.0 2,185 9/9/2015
0.6.1 2,510 7/31/2015
0.6.0 1,785 7/13/2015
0.5.1 1,590 6/5/2015
0.5.0 47,933 5/29/2015