Grpc.Tools 2.71.0

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

Showing the top 20 packages that depend on Grpc.Tools.

Packages Downloads
Aspire.Hosting.AppHost
Core library and MSBuild logic for .NET Aspire AppHost projects.
24
Aspire.Hosting
Core abstractions for the .NET Aspire application model.
24
Grpc.AspNetCore
gRPC meta-package for ASP.NET Core
23
Grpc.AspNetCore
gRPC meta-package for ASP.NET Core
1

.NET Framework 4.5

  • No dependencies.

.NET Standard 1.3

  • No dependencies.

Version Downloads Last updated
2.76.0 0 10/25/2025
2.72.0 19 10/19/2025
2.71.0 19 10/19/2025
2.70.0 0 02/25/2025
2.69.0 0 01/08/2025
2.69.0-pre1 0 12/13/2024
2.68.1 0 12/04/2024
2.67.0 0 10/08/2024
2.67.0-pre1 0 09/19/2024
2.66.0 0 08/26/2024
2.66.0-pre5 0 08/16/2024
2.66.0-pre3 0 08/08/2024
2.65.0 0 07/16/2024
2.65.0-pre1 0 06/14/2024
2.64.0 0 05/22/2024
2.64.0-pre1 0 05/08/2024
2.63.0 0 05/01/2024
2.62.0 0 02/21/2024
2.62.0-pre1 0 02/16/2024
2.61.0 0 02/02/2024
2.60.0 0 12/12/2023
2.60.0-pre1 0 11/15/2023
2.59.0 0 10/17/2023
2.58.0 0 09/08/2023
2.58.0-pre1 0 08/28/2023
2.57.0 0 08/10/2023
2.57.0-pre1 0 07/31/2023
2.56.2 0 07/17/2023
2.56.0 0 06/23/2023
2.55.1 0 06/22/2023
2.54.0 0 04/13/2023
2.54.0-pre2 0 04/13/2023
2.53.0 0 03/25/2023
2.53.0-pre2 0 03/17/2023
2.53.0-pre1 0 03/01/2023
2.52.0 0 03/01/2023
2.52.0-pre1 0 01/18/2023
2.51.0 0 12/07/2022
2.51.0-pre1 0 11/18/2022
2.50.0 0 10/17/2022
2.50.0-pre1 0 10/03/2022
2.49.1 0 09/27/2022
2.49.0 0 09/26/2022
2.49.0-pre3 0 09/02/2022
2.49.0-pre1 0 08/24/2022
2.48.1 0 09/01/2022
2.48.0 0 08/16/2022
2.48.0-pre1 0 07/06/2022
2.47.0 0 06/23/2022
2.47.0-pre1 0 06/22/2022
2.46.6 0 01/11/2023
2.46.5 0 09/26/2022
2.46.3 0 05/24/2022
2.46.1 0 05/12/2022
2.46.0-pre2 0 04/27/2022
2.46.0-pre1 0 04/19/2022
2.45.0 0 03/22/2022
2.45.0-pre1 0 03/10/2022
2.44.0 0 02/15/2022
2.44.0-pre2 0 01/27/2022
2.43.0 0 01/03/2022
2.43.0-pre1 0 12/07/2021
2.42.0 0 11/18/2021
2.42.0-pre1 0 11/08/2021
2.41.1 0 10/26/2021
2.41.0 0 09/30/2021
2.41.0-pre2 0 09/21/2021
2.40.0 0 09/07/2021
2.40.0-pre1 0 08/25/2021
2.39.1 0 08/13/2021
2.39.0-pre1 0 07/16/2021
2.38.1 0 06/22/2021
2.38.0 0 05/25/2021
2.38.0-pre1 0 05/11/2021
2.37.1 0 04/30/2021
2.37.0 0 04/08/2021
2.37.0-pre1 0 04/01/2021
2.36.4 0 03/22/2021
2.36.1 0 03/04/2021
2.36.0 0 02/24/2021
2.36.0-pre1 0 02/18/2021
2.35.0 0 01/21/2021
2.35.0-pre1 0 01/11/2021
2.34.1 0 01/14/2021
2.34.0 0 12/03/2020
2.34.0-pre1 0 11/23/2020
2.33.1 0 10/22/2020
2.33.0-pre1 0 10/12/2020
2.32.0 0 09/11/2020
2.32.0-pre1 0 09/03/2020
2.31.0 0 08/05/2020
2.31.0-pre2 0 07/29/2020
2.31.0-pre1 0 07/23/2020
2.30.0 0 06/24/2020
2.30.0-pre1 0 06/09/2020
2.29.0 0 05/14/2020
2.28.1 0 04/06/2020
2.28.0 0 04/06/2020
2.28.0-pre3 0 03/11/2020
2.28.0-pre2 0 03/05/2020
2.28.0-pre1 0 02/28/2020
2.27.0 0 02/05/2020
2.27.0-pre1 0 01/23/2020
2.26.0 0 12/18/2019
2.26.0-pre1 0 12/06/2019
2.25.0 0 11/06/2019
2.25.0-pre1 0 10/25/2019
2.24.0 0 09/26/2019
2.24.0-pre1 0 09/11/2019
2.23.1 0 10/01/2019
2.23.0 0 08/19/2019
2.23.0-pre1 0 08/05/2019
1.22.1 0 08/19/2019
1.22.0 0 07/03/2019
1.22.0-pre1 0 06/26/2019
1.21.0 0 05/22/2019
1.21.0-pre1 0 05/11/2019
1.20.1 0 04/26/2019
1.20.0 0 04/16/2019
1.20.0-pre3 0 04/09/2019
1.20.0-pre2 0 04/05/2019
1.20.0-pre1 0 04/01/2019
1.19.0 0 02/27/2019
1.19.0-pre1 0 02/15/2019
1.18.0 0 01/16/2019
1.18.0-pre1 0 01/08/2019
1.17.1 0 12/17/2018
1.17.0 0 12/05/2018
1.17.0-pre3 0 11/29/2018
1.17.0-pre1 0 11/21/2018
1.16.0 0 10/24/2018
1.16.0-pre1 0 10/09/2018
1.15.0 0 09/12/2018
1.15.0-pre1 0 08/29/2018
1.14.2 0 08/31/2018
1.14.2-pre1 0 08/22/2018
1.14.1 0 08/09/2018
1.14.0 0 08/03/2018
1.14.0-pre1 0 07/26/2018
1.13.1 0 07/16/2018
1.13.0 0 07/02/2018
1.13.0-pre1 0 06/12/2018
1.12.0 0 05/15/2018
1.12.0-pre1 0 05/06/2018
1.11.1 0 05/15/2018
1.11.1-pre1 0 05/06/2018
1.11.0 0 04/16/2018
1.11.0-pre2 0 04/11/2018
1.11.0-pre1 0 04/06/2018
1.10.1 0 04/06/2018
1.10.1-pre1 0 04/03/2018
1.10.0 0 03/02/2018
1.10.0-pre2 0 02/27/2018
1.10.0-pre1 0 02/23/2018
1.9.0 0 02/02/2018
1.9.0-pre3 0 01/31/2018
1.9.0-pre2 0 01/25/2018
1.8.6 0 01/31/2018
1.8.3 0 01/05/2018
1.8.0 0 12/13/2017
1.8.0-pre2 0 11/30/2017
1.8.0-pre1 0 11/29/2017
1.7.3 0 12/06/2017
1.7.1 0 10/31/2017
1.7.0 0 10/27/2017
1.7.0-pre1 0 10/20/2017
1.6.1 0 09/15/2017
1.6.0 0 08/30/2017
1.6.0-pre1 0 08/23/2017
1.4.1 0 06/29/2017
1.4.0 0 06/21/2017
1.3.6 0 05/25/2017
1.3.0 0 04/28/2017
1.2.2 0 04/05/2017
1.2.0 0 03/21/2017
1.2.0-pre1 0 03/15/2017
1.1.0 0 01/31/2017
1.1.0-pre1 0 01/27/2017
1.0.1 0 11/03/2016
1.0.1-pre1 0 10/10/2016
1.0.0 0 08/18/2016
1.0.0-pre2 0 08/12/2016
1.0.0-pre1 0 07/21/2016
0.15.0 0 06/27/2016
0.14.0 0 05/11/2016
0.13.1 0 04/01/2016
0.13.1-pre1 0 03/29/2016
0.13.0 0 02/13/2016
0.12.0 0 01/15/2016
0.7.1 0 09/23/2015
0.7.0 0 09/09/2015
0.6.1 0 07/31/2015
0.6.0 1 12/12/2025
0.5.1 0 06/05/2015
0.5.0 0 05/29/2015