Rocket.Builder 1.16.2.2647

There is a newer version of this package available.
See the version list below for details.
dotnet add package Rocket.Builder --version 1.16.2.2647
                    
NuGet\Install-Package Rocket.Builder -Version 1.16.2.2647
                    
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="Rocket.Builder" Version="1.16.2.2647">
  <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="Rocket.Builder" Version="1.16.2.2647" />
                    
Directory.Packages.props
<PackageReference Include="Rocket.Builder">
  <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 Rocket.Builder --version 1.16.2.2647
                    
#r "nuget: Rocket.Builder, 1.16.2.2647"
                    
#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 Rocket.Builder@1.16.2.2647
                    
#: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=Rocket.Builder&version=1.16.2.2647
                    
Install as a Cake Addin
#tool nuget:?package=Rocket.Builder&version=1.16.2.2647
                    
Install as a Cake Tool

Rocket.Builder

The Rocket.Builder NuGet package provides incremental source generators and dedicated build tools. It is a development dependency: it adds nothing to the runtime dependencies of the project that references it.

Content

  • analyzers/dotnet/cs → the source generators and analyzers CodeGen.Entity, CodeGen.Telemetry and Naboo.Analyzer.
  • tasks/netstandard2.0 → the MSBuild task CodeGen.Stubber, which generates the RecordView stubs.
  • tools → the Naboo build tool, which extracts the resources of the source code and allocates their keys.
  • build → the MSBuild props and targets that wire the above into the build.

Opting in

The package does nothing by itself: a project opts in with an MSBuild property.

  • UseRocketBuilder → true enables the whole suite: the generators, the Naboo extraction and the RecordView stubber.
  • UseRocketBuilderTelemetry → true without UseRocketBuilder enables the telemetry generator only; the build removes the CodeGen.Entity and Naboo.Analyzer analyzers from the compilation.
  • UseRocketBuilderTelemetryBuilder → true on the leaf or host project only: it also emits the ActivitySourceCatalog aggregator. Two libraries that both emitted it would make a consumer referencing both hit CS0433.
  • SuppressNaboo → true skips the Naboo extraction.

Naboo corpus identity

The Naboo build tool allocates resource keys from a key server, per bundle. The bundle name is read from a committed identity file, assets/l10n/.naboo, next to the per-language corpus files:

# Naboo corpus identity — the key-server bundle name.
id = my-bundle

Blank lines and # comments are ignored, unknown properties are tolerated, and a leading byte-order mark is accepted. The id value must match [a-z0-9-]+, since it is embedded in the allocation URL.

A repository which uses the Naboo tool has to seed this file once. Until it does, any build which extracts resources fails with NAB1006: the bundle name is never derived from the checkout folder name, so that renaming or cloning a checkout can never mint a fresh bundle whose key counter restarts at 1.

Signing in to allocate resource keys

Allocating a resource key is a developer-interactive act, authenticated as a real user. Each checkout carries its own session, obtained once:

dotnet tool install -g Epsitec.Auth.Cli
auth-cli login

Run auth-cli login from the module root, the folder holding assets/l10n, so the session lands in {root}/.auth-cli/. Add .auth-cli/ to the repository's .gitignore: the file it writes holds a refresh token in clear JSON, and committing one would be a real credential leak.

The session is read lazily, on the first key actually allocated. A build that authors no new T (...) resource never opens the store and never reaches the network; a build that needs a key without a local session stops with:

Tool.Naboo : error NAB1001: Allocating a new Naboo resource key requires a signed-in user, …

The tool exchanges the stored session for short-lived access tokens bound to the key server's audience, and keeps them in memory for the run: no access token ever reaches the session file, which the tool writes back only when the auth service rotated the refresh token. A CI agent has no session and therefore cannot allocate keys. That is intended, not a gap: keys are allocated on developer machines, and committed with the source that uses them.

There are no supported framework assets in this package.

Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last Updated
1.16.5.2647 51 11/21/2026
1.16.2.2647 48 11/20/2026
1.16.0.2647 102 11/17/2026
1.15.0.2647 96 11/16/2026
1.14.14.2646 105 11/10/2026
1.14.11.2646 106 11/9/2026
1.14.0.2643 137 10/20/2026
1.13.4.2642 137 10/17/2026
1.13.2.2642 128 10/12/2026
1.13.1.2641 129 10/11/2026
1.12.0.2641 132 10/10/2026
1.11.9.2641 129 10/9/2026
1.11.8.2641 116 10/8/2026
1.11.3.2641 137 10/6/2026
1.11.2.2641 109 10/6/2026
1.11.1.2640 127 10/4/2026
1.11.0.2640 122 10/4/2026
1.10.0.2640 124 10/4/2026
1.9.3.2640 130 10/2/2026
1.9.2.2640 135 9/29/2026
Loading failed