Grpc.Tools 2.72.0

Prefix Reserved
dotnet add package Grpc.Tools --version 2.72.0
                    
NuGet\Install-Package Grpc.Tools -Version 2.72.0
                    
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.72.0">
  <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.
<PackageVersion Include="Grpc.Tools" Version="2.72.0" />
                    
Directory.Packages.props
<PackageReference Include="Grpc.Tools">
  <PrivateAssets>all</PrivateAssets>
  <IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Grpc.Tools --version 2.72.0
                    
#r "nuget: Grpc.Tools, 2.72.0"
                    
#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.
#:package Grpc.Tools@2.72.0
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Grpc.Tools&version=2.72.0
                    
Install as a Cake Addin
#tool nuget:?package=Grpc.Tools&version=2.72.0
                    
Install as a Cake Tool

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

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.

TIKSN-Framework

This is a .NET Framework enhancement framework. Main features are Versioning, Finance, Currency, Foreign Exchange, Money, Pricing strategy, Telemetry, Composite Weighted Progress, Repository and Unity of Wok pattern implementation with Entity Framework Core, Network Connectivity Service and Triggering, Settings, Windows Registry configuration source, Azure Storage Repository, MongoDB Repository, NoDB Repository, Lingual and Regional Localization, Serialization, Rest Requester, Rest Repository, Dependency Injection, Composition Root Setup base classes.

Aspire.Hosting.Azure

Azure resource types for .NET Aspire.

GitHub repositories (165)

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

Repository Stars
microsoft/semantic-kernel
Integrate cutting-edge LLM technology quickly and easily into your apps
rocksdanister/lively
Free and open-source software that allows users to set animated desktop wallpapers and screensavers powered by WinUI 3.
dotnet/runtime
.NET is a cross-platform runtime for cloud, mobile, desktop, and IoT apps.
dotnet/AspNetCore.Docs
Documentation for ASP.NET Core
nilaoda/BBDown
Bilibili Downloader. 一个命令行式哔哩哔哩下载器.
dotnet/orleans
Cloud Native application framework for .NET
dodyg/practical-aspnetcore
Practical samples of ASP.NET Core 10 RC 1, 9, 8.0, 7.0, 6.0, 5.0, 3.1, 2.2, and 2.1,projects you can use. Readme contains explanations on all projects.
dotnet/eShop
A reference .NET application implementing an eCommerce site
Richasy/Bili.Uwp
适用于新系统UI的哔哩
Azure/azure-sdk-for-net
This repository is for active development of the Azure SDK for .NET. For consumers of the SDK we recommend visiting our public developer docs at https://learn.microsoft.com/dotnet/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-net.
kurrent-io/KurrentDB
KurrentDB is a database that's engineered for modern software applications and event-driven architectures. Its event-native design simplifies data modeling and preserves data integrity while the integrated streaming engine solves distributed messaging challenges and ensures data consistency.
ServiceStack/ServiceStack
Thoughtfully architected, obscenely fast, thoroughly enjoyable web services for all
akkadotnet/akka.net
Canonical actor model implementation for .NET with local + distributed actors in C# and F#.
dotnet/aspire
Tools, templates, and packages to accelerate building observable, production-ready apps
grpc/grpc-dotnet
gRPC for .NET
cyanfish/naps2
Scan documents to PDF and more, as simply as possible.
open-telemetry/opentelemetry-dotnet
The OpenTelemetry .NET Client
Azure-Samples/cognitive-services-speech-sdk
Sample code for the Microsoft Cognitive Services Speech SDK
microsurging/surging
Surging is a micro-service engine that provides a lightweight, high-performance, modular RPC request pipeline. support Event-based Asynchronous Pattern and reactive programming ,The service engine supports http, TCP, WS,Grpc, Thrift,Mqtt, UDP, and DNS protocols. It uses ZooKeeper and Consul as a registry, and integrates it. Hash, random, polling, Fair Polling as a load balancing algorithm, built-in service governance to ensure reliable RPC communication, the engine contains Diagnostic, link tracking for protocol and middleware calls, and integration SkyWalking Distributed APM
phongnguyend/Practical.CleanArchitecture
Full-stack .Net 9 Clean Architecture (Microservices, Modular Monolith, Monolith), Blazor, Angular 20, React 19, Vue 3.5, BFF with YARP, NextJs 15, Domain-Driven Design, CQRS, SOLID, Asp.Net Core Identity Custom Storage, OpenID Connect, EF Core, OpenTelemetry, SignalR, Background Services, Health Checks, Rate Limiting, Clouds (Azure, AWS, GCP), ..
Version Downloads Last Updated
2.72.0 3,520,426 5/6/2025
2.71.0 5,941,134 3/10/2025
2.70.0 2,287,986 2/25/2025
2.69.0 4,643,018 1/8/2025
2.69.0-pre1 6,028 12/13/2024
2.68.1 1,938,809 12/4/2024
2.67.0 8,466,857 10/8/2024
2.67.0-pre1 12,241 9/19/2024
2.66.0 7,171,609 8/26/2024
2.66.0-pre5 3,463 8/16/2024
2.66.0-pre3 4,481 8/8/2024
2.65.0 4,697,008 7/16/2024
2.65.0-pre1 60,041 6/14/2024
2.64.0 3,196,633 5/22/2024
2.64.0-pre1 5,267 5/8/2024
2.63.0 3,312,099 5/1/2024
2.62.0 7,380,816 2/21/2024
2.62.0-pre1 9,042 2/16/2024
2.61.0 3,657,834 2/2/2024
2.60.0 5,781,174 12/12/2023
2.60.0-pre1 84,086 11/15/2023
2.59.0 7,099,309 10/17/2023
2.58.0 3,526,603 9/8/2023
2.58.0-pre1 16,522 8/28/2023
2.57.0 3,895,653 8/10/2023
2.57.0-pre1 16,754 7/31/2023
2.56.2 1,022,613 7/17/2023
2.56.0 1,740,134 6/23/2023
2.55.1 2,729,774 6/22/2023
2.54.0 4,012,190 4/13/2023
2.54.0-pre2 554 4/13/2023
2.53.0 2,454,353 3/25/2023
2.53.0-pre2 6,490 3/17/2023
2.53.0-pre1 20,351 3/1/2023
2.52.0 3,709,439 3/1/2023
2.52.0-pre1 34,108 1/18/2023
2.51.0 6,336,162 12/7/2022
2.51.0-pre1 52,379 11/18/2022
2.50.0 4,151,519 10/17/2022
2.50.0-pre1 27,517 10/3/2022
2.49.1 1,097,178 9/27/2022
2.49.0 22,074,787 9/26/2022
2.49.0-pre3 10,967 9/2/2022
2.49.0-pre1 12,491 8/24/2022
2.48.1 887,080 9/1/2022
2.48.0 2,522,161 8/16/2022
2.48.0-pre1 26,492 7/6/2022
2.47.0 5,052,004 6/23/2022
2.47.0-pre1 685 6/22/2022
2.46.6 470,455 1/11/2023
2.46.5 80,064 9/26/2022
2.46.3 1,506,176 5/24/2022
2.46.1 2,298,154 5/12/2022
2.46.0-pre2 6,386 4/27/2022
2.46.0-pre1 11,277 4/19/2022
2.45.0 6,781,217 3/22/2022
2.45.0-pre1 9,906 3/10/2022
2.44.0 2,386,894 2/15/2022
2.44.0-pre2 5,358 1/27/2022
2.43.0 4,812,344 1/3/2022
2.43.0-pre1 7,382 12/7/2021
2.42.0 4,021,669 11/18/2021
2.42.0-pre1 6,955 11/8/2021
2.41.1 2,902,120 10/26/2021
2.41.0 1,915,302 9/30/2021
2.41.0-pre2 8,901 9/21/2021
2.40.0 6,245,021 9/7/2021
2.40.0-pre1 11,244 8/25/2021
2.39.1 1,555,085 8/13/2021
2.39.0-pre1 7,008 7/16/2021
2.38.1 1,456,155 6/22/2021
2.38.0 1,512,399 5/25/2021
2.38.0-pre1 7,463 5/11/2021
2.37.1 391,422 4/30/2021
2.37.0 3,264,909 4/8/2021
2.37.0-pre1 7,725 4/1/2021
2.36.4 587,818 3/22/2021
2.36.1 1,186,240 3/4/2021
2.36.0 172,331 2/24/2021
2.36.0-pre1 1,999 2/18/2021
2.35.0 1,309,154 1/21/2021
2.35.0-pre1 19,039 1/11/2021
2.34.1 401,227 1/14/2021
2.34.0 2,281,131 12/3/2020
2.34.0-pre1 16,081 11/23/2020
2.33.1 1,576,516 10/22/2020
2.33.0-pre1 3,804 10/12/2020
2.32.0 2,000,737 9/11/2020
2.32.0-pre1 13,767 9/3/2020
2.31.0 1,244,424 8/5/2020
2.31.0-pre2 6,198 7/29/2020
2.31.0-pre1 1,108 7/23/2020
2.30.0 1,268,697 6/24/2020
2.30.0-pre1 248,821 6/9/2020
2.29.0 1,389,783 5/14/2020
2.28.1 578,585 4/6/2020
2.28.0 52,796 4/6/2020
2.28.0-pre3 8,023 3/11/2020
2.28.0-pre2 3,774 3/5/2020
2.28.0-pre1 1,599 2/28/2020
2.27.0 3,007,968 2/5/2020
2.27.0-pre1 15,618 1/23/2020
2.26.0 2,354,998 12/18/2019
2.26.0-pre1 1,900 12/6/2019
2.25.0 2,423,710 11/6/2019
2.25.0-pre1 5,342 10/25/2019
2.24.0 922,655 9/26/2019
2.24.0-pre1 10,313 9/11/2019
2.23.1 12,370 10/1/2019
2.23.0 1,669,980 8/19/2019
2.23.0-pre1 4,113 8/5/2019
1.22.1 130,574 8/19/2019
1.22.0 432,093 7/3/2019
1.22.0-pre1 23,190 6/26/2019
1.21.0 593,814 5/22/2019
1.21.0-pre1 3,733 5/11/2019
1.20.1 107,272 4/26/2019
1.20.0 159,010 4/16/2019
1.20.0-pre3 19,870 4/9/2019
1.20.0-pre2 1,497 4/5/2019
1.20.0-pre1 1,603 4/1/2019
1.19.0 518,015 2/27/2019
1.19.0-pre1 6,215 2/15/2019
1.18.0 224,861 1/16/2019
1.18.0-pre1 1,161 1/8/2019
1.17.1 54,728 12/17/2018
1.17.0 316,092 12/5/2018
1.17.0-pre3 1,211 11/29/2018
1.17.0-pre1 1,290 11/21/2018
1.16.0 178,070 10/24/2018
1.16.0-pre1 1,837 10/9/2018
1.15.0 186,757 9/12/2018
1.15.0-pre1 1,691 8/29/2018
1.14.2 25,980 8/31/2018
1.14.2-pre1 1,246 8/22/2018
1.14.1 127,038 8/9/2018
1.14.0 6,971 8/3/2018
1.14.0-pre1 1,435 7/26/2018
1.13.1 198,007 7/16/2018
1.13.0 233,569 7/2/2018
1.13.0-pre1 1,845 6/12/2018
1.12.0 259,071 5/15/2018
1.12.0-pre1 1,815 5/6/2018
1.11.1 3,019 5/15/2018
1.11.1-pre1 1,635 5/6/2018
1.11.0 61,100 4/16/2018
1.11.0-pre2 1,755 4/11/2018
1.11.0-pre1 1,578 4/6/2018
1.10.1 11,013 4/6/2018
1.10.1-pre1 1,617 4/3/2018
1.10.0 135,439 3/2/2018
1.10.0-pre2 1,643 2/27/2018
1.10.0-pre1 1,405 2/23/2018
1.9.0 105,728 2/2/2018
1.9.0-pre3 1,989 1/31/2018
1.9.0-pre2 1,626 1/25/2018
1.8.6 7,865 1/31/2018
1.8.3 26,340 1/5/2018
1.8.0 266,925 12/13/2017
1.8.0-pre2 1,433 11/30/2017
1.8.0-pre1 1,350 11/29/2017
1.7.3 41,212 12/6/2017
1.7.1 16,228 10/31/2017
1.7.0 2,840 10/27/2017
1.7.0-pre1 1,413 10/20/2017
1.6.1 46,318 9/15/2017
1.6.0 20,252 8/30/2017
1.6.0-pre1 1,407 8/23/2017
1.4.1 40,699 6/29/2017
1.4.0 17,468 6/21/2017
1.3.6 12,306 5/25/2017
1.3.0 8,617 4/28/2017
1.2.2 23,986 4/5/2017
1.2.0 3,615 3/21/2017
1.2.0-pre1 2,303 3/15/2017
1.1.0 10,071 1/31/2017
1.1.0-pre1 1,436 1/27/2017
1.0.1 42,027 11/3/2016
1.0.1-pre1 1,561 10/10/2016
1.0.0 28,043 8/18/2016
1.0.0-pre2 1,508 8/12/2016
1.0.0-pre1 2,315 7/21/2016
0.15.0 18,372 6/27/2016
0.14.0 5,242 5/11/2016
0.13.1 8,982 4/1/2016
0.13.1-pre1 1,548 3/29/2016
0.13.0 4,429 2/13/2016
0.12.0 3,389 1/15/2016
0.7.1 3,375 9/23/2015
0.7.0 2,986 9/9/2015
0.6.1 3,290 7/31/2015
0.6.0 2,682 7/13/2015
0.5.1 2,352 6/5/2015
0.5.0 70,999 5/29/2015