Grpc.Tools 2.68.1

Prefix Reserved
There is a newer prerelease 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 (116)

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.

Grpc.Gcp

Extension supporting Google Cloud Platform specific features for gRPC.

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

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

Repository Stars
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. 一个命令行式哔哩哔哩下载器.
dotnet/orleans
Cloud Native application framework for .NET
Version Downloads Last updated
2.69.0-pre1 1,273 12/13/2024
2.68.1 185,097 12/4/2024
2.67.0 1,796,009 10/8/2024
2.67.0-pre1 7,161 9/19/2024
2.66.0 2,496,424 8/26/2024
2.66.0-pre5 1,808 8/16/2024
2.66.0-pre3 4,116 8/8/2024
2.65.0 2,840,800 7/16/2024
2.65.0-pre1 32,594 6/14/2024
2.64.0 2,088,566 5/22/2024
2.64.0-pre1 4,986 5/8/2024
2.63.0 2,148,341 5/1/2024
2.62.0 4,707,321 2/21/2024
2.62.0-pre1 8,918 2/16/2024
2.61.0 2,295,110 2/2/2024
2.60.0 4,407,191 12/12/2023
2.60.0-pre1 82,859 11/15/2023
2.59.0 4,999,496 10/17/2023
2.58.0 2,627,887 9/8/2023
2.58.0-pre1 13,675 8/28/2023
2.57.0 2,732,442 8/10/2023
2.57.0-pre1 15,537 7/31/2023
2.56.2 884,926 7/17/2023
2.56.0 1,391,823 6/23/2023
2.55.1 2,051,616 6/22/2023
2.54.0 3,672,855 4/13/2023
2.54.0-pre2 421 4/13/2023
2.53.0 2,159,006 3/25/2023
2.53.0-pre2 5,985 3/17/2023
2.53.0-pre1 18,825 3/1/2023
2.52.0 3,032,833 3/1/2023
2.52.0-pre1 32,663 1/18/2023
2.51.0 5,414,352 12/7/2022
2.51.0-pre1 41,297 11/18/2022
2.50.0 3,683,301 10/17/2022
2.50.0-pre1 27,252 10/3/2022
2.49.1 972,527 9/27/2022
2.49.0 11,854,265 9/26/2022
2.49.0-pre3 10,625 9/2/2022
2.49.0-pre1 12,237 8/24/2022
2.48.1 832,114 9/1/2022
2.48.0 1,727,932 8/16/2022
2.48.0-pre1 25,865 7/6/2022
2.47.0 4,419,143 6/23/2022
2.47.0-pre1 527 6/22/2022
2.46.6 272,576 1/11/2023
2.46.5 76,015 9/26/2022
2.46.3 1,377,911 5/24/2022
2.46.1 2,075,921 5/12/2022
2.46.0-pre2 5,563 4/27/2022
2.46.0-pre1 11,060 4/19/2022
2.45.0 5,940,502 3/22/2022
2.45.0-pre1 9,746 3/10/2022
2.44.0 2,225,196 2/15/2022
2.44.0-pre2 5,182 1/27/2022
2.43.0 4,152,066 1/3/2022
2.43.0-pre1 6,473 12/7/2021
2.42.0 3,570,650 11/18/2021
2.42.0-pre1 6,685 11/8/2021
2.41.1 2,757,041 10/26/2021
2.41.0 1,811,488 9/30/2021
2.41.0-pre2 8,730 9/21/2021
2.40.0 5,783,366 9/7/2021
2.40.0-pre1 9,582 8/25/2021
2.39.1 1,491,476 8/13/2021
2.39.0-pre1 6,584 7/16/2021
2.38.1 1,369,676 6/22/2021
2.38.0 1,432,821 5/25/2021
2.38.0-pre1 7,108 5/11/2021
2.37.1 378,068 4/30/2021
2.37.0 3,134,190 4/8/2021
2.37.0-pre1 7,545 4/1/2021
2.36.4 554,010 3/22/2021
2.36.1 1,095,279 3/4/2021
2.36.0 166,146 2/24/2021
2.36.0-pre1 1,818 2/18/2021
2.35.0 1,266,632 1/21/2021
2.35.0-pre1 18,819 1/11/2021
2.34.1 391,273 1/14/2021
2.34.0 2,211,221 12/3/2020
2.34.0-pre1 15,884 11/23/2020
2.33.1 1,525,561 10/22/2020
2.33.0-pre1 3,587 10/12/2020
2.32.0 1,838,863 9/11/2020
2.32.0-pre1 13,544 9/3/2020
2.31.0 1,225,505 8/5/2020
2.31.0-pre2 6,015 7/29/2020
2.31.0-pre1 927 7/23/2020
2.30.0 1,191,318 6/24/2020
2.30.0-pre1 243,533 6/9/2020
2.29.0 1,309,749 5/14/2020
2.28.1 550,815 4/6/2020
2.28.0 48,477 4/6/2020
2.28.0-pre3 7,827 3/11/2020
2.28.0-pre2 3,567 3/5/2020
2.28.0-pre1 1,412 2/28/2020
2.27.0 2,896,190 2/5/2020
2.27.0-pre1 15,406 1/23/2020
2.26.0 2,333,450 12/18/2019
2.26.0-pre1 1,719 12/6/2019
2.25.0 2,393,819 11/6/2019
2.25.0-pre1 5,131 10/25/2019
2.24.0 912,416 9/26/2019
2.24.0-pre1 10,098 9/11/2019
2.23.1 11,433 10/1/2019
2.23.0 1,562,963 8/19/2019
2.23.0-pre1 3,914 8/5/2019
1.22.1 121,942 8/19/2019
1.22.0 409,012 7/3/2019
1.22.0-pre1 22,464 6/26/2019
1.21.0 590,820 5/22/2019
1.21.0-pre1 3,543 5/11/2019
1.20.1 106,005 4/26/2019
1.20.0 154,722 4/16/2019
1.20.0-pre3 19,680 4/9/2019
1.20.0-pre2 1,302 4/5/2019
1.20.0-pre1 1,418 4/1/2019
1.19.0 513,700 2/27/2019
1.19.0-pre1 6,001 2/15/2019
1.18.0 222,024 1/16/2019
1.18.0-pre1 977 1/8/2019
1.17.1 51,815 12/17/2018
1.17.0 306,298 12/5/2018
1.17.0-pre3 1,012 11/29/2018
1.17.0-pre1 1,097 11/21/2018
1.16.0 165,561 10/24/2018
1.16.0-pre1 1,372 10/9/2018
1.15.0 185,108 9/12/2018
1.15.0-pre1 1,448 8/29/2018
1.14.2 25,014 8/31/2018
1.14.2-pre1 1,013 8/22/2018
1.14.1 121,131 8/9/2018
1.14.0 6,083 8/3/2018
1.14.0-pre1 1,071 7/26/2018
1.13.1 193,420 7/16/2018
1.13.0 215,290 7/2/2018
1.13.0-pre1 1,345 6/12/2018
1.12.0 250,502 5/15/2018
1.12.0-pre1 1,295 5/6/2018
1.11.1 2,034 5/15/2018
1.11.1-pre1 1,111 5/6/2018
1.11.0 57,170 4/16/2018
1.11.0-pre2 1,247 4/11/2018
1.11.0-pre1 1,069 4/6/2018
1.10.1 9,981 4/6/2018
1.10.1-pre1 1,092 4/3/2018
1.10.0 131,461 3/2/2018
1.10.0-pre2 1,133 2/27/2018
1.10.0-pre1 1,029 2/23/2018
1.9.0 102,698 2/2/2018
1.9.0-pre3 1,476 1/31/2018
1.9.0-pre2 1,260 1/25/2018
1.8.6 5,950 1/31/2018
1.8.3 25,227 1/5/2018
1.8.0 264,526 12/13/2017
1.8.0-pre2 1,064 11/30/2017
1.8.0-pre1 980 11/29/2017
1.7.3 38,586 12/6/2017
1.7.1 15,320 10/31/2017
1.7.0 1,995 10/27/2017
1.7.0-pre1 1,049 10/20/2017
1.6.1 45,317 9/15/2017
1.6.0 19,360 8/30/2017
1.6.0-pre1 1,038 8/23/2017
1.4.1 39,441 6/29/2017
1.4.0 16,623 6/21/2017
1.3.6 11,462 5/25/2017
1.3.0 7,732 4/28/2017
1.2.2 20,325 4/5/2017
1.2.0 2,768 3/21/2017
1.2.0-pre1 1,917 3/15/2017
1.1.0 9,160 1/31/2017
1.1.0-pre1 1,054 1/27/2017
1.0.1 40,104 11/3/2016
1.0.1-pre1 1,179 10/10/2016
1.0.0 27,060 8/18/2016
1.0.0-pre2 1,133 8/12/2016
1.0.0-pre1 1,929 7/21/2016
0.15.0 17,494 6/27/2016
0.14.0 4,393 5/11/2016
0.13.1 7,873 4/1/2016
0.13.1-pre1 1,158 3/29/2016
0.13.0 3,424 2/13/2016
0.12.0 2,397 1/15/2016
0.7.1 2,542 9/23/2015
0.7.0 2,087 9/9/2015
0.6.1 2,439 7/31/2015
0.6.0 1,685 7/13/2015
0.5.1 1,513 6/5/2015
0.5.0 42,266 5/29/2015