Grpc.Tools 2.78.0

Prefix Reserved
dotnet add package Grpc.Tools --version 2.78.0
                    
NuGet\Install-Package Grpc.Tools -Version 2.78.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.78.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.78.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.78.0
                    
#r "nuget: Grpc.Tools, 2.78.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.78.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.78.0
                    
Install as a Cake Addin
#tool nuget:?package=Grpc.Tools&version=2.78.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 (145)

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 Aspire application model.

Aspire.Hosting.AppHost

Core library and MSBuild logic for 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 Aspire.

GitHub repositories (8)

Showing the top 8 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.
nilaoda/BBDown
Bilibili Downloader. 一个命令行式哔哩哔哩下载器.
dotnet/AspNetCore.Docs
Documentation for ASP.NET Core
dotnet/orleans
Cloud Native application framework for .NET
dodyg/practical-aspnetcore
Practical samples of ASP.NET Core 10, 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
Version Downloads Last Updated
2.78.0 344,458 2/6/2026
2.76.0 3,242,996 10/25/2025
2.72.0 12,743,899 5/6/2025
2.71.0 14,574,472 3/10/2025
2.70.0 3,450,993 2/25/2025
2.69.0 5,806,411 1/8/2025
2.69.0-pre1 6,428 12/13/2024
2.68.1 3,662,802 12/4/2024
2.67.0 11,467,931 10/8/2024
2.67.0-pre1 14,699 9/19/2024
2.66.0 10,274,752 8/26/2024
2.66.0-pre5 4,440 8/16/2024
2.66.0-pre3 4,588 8/8/2024
2.65.0 5,593,797 7/16/2024
2.65.0-pre1 69,131 6/14/2024
2.64.0 3,896,824 5/22/2024
2.64.0-pre1 5,411 5/8/2024
2.63.0 3,973,222 5/1/2024
2.62.0 9,086,206 2/21/2024
2.62.0-pre1 9,158 2/16/2024
Loading failed