lr.Dotnet.AiFixBuildTool.any 2026.3.24.1719

dotnet add package lr.Dotnet.AiFixBuildTool.any --version 2026.3.24.1719
                    
NuGet\Install-Package lr.Dotnet.AiFixBuildTool.any -Version 2026.3.24.1719
                    
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="lr.Dotnet.AiFixBuildTool.any" Version="2026.3.24.1719" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="lr.Dotnet.AiFixBuildTool.any" Version="2026.3.24.1719" />
                    
Directory.Packages.props
<PackageReference Include="lr.Dotnet.AiFixBuildTool.any" />
                    
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 lr.Dotnet.AiFixBuildTool.any --version 2026.3.24.1719
                    
#r "nuget: lr.Dotnet.AiFixBuildTool.any, 2026.3.24.1719"
                    
#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 lr.Dotnet.AiFixBuildTool.any@2026.3.24.1719
                    
#: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=lr.Dotnet.AiFixBuildTool.any&version=2026.3.24.1719
                    
Install as a Cake Addin
#tool nuget:?package=lr.Dotnet.AiFixBuildTool.any&version=2026.3.24.1719
                    
Install as a Cake Tool

lr-ai-fix-build

NuGet

AI-powered .NET build fixer using coding agent CLIs (Claude Code, GitHub Copilot, Gemini CLI). Fixes build errors and updates NuGet packages.

Usage

Run it directly with dnx:

dnx -y lr-ai-fix-build <command>

Commands

fix-build

Fix build errors using a coding agent CLI. Runs dotnet restore and dotnet build, then uses the agent to diagnose and fix any errors.

dnx -y lr-ai-fix-build fix-build
dnx -y lr-ai-fix-build fix-build --working-dir /path/to/project
update-packages

Update NuGet packages via lr-nuget-update, then fix any resulting build errors.

dnx -y lr-ai-fix-build update-packages
dnx -y lr-ai-fix-build update-packages --filter "Microsoft*,Serilog*"
dnx -y lr-ai-fix-build update-packages --working-dir /path/to/project

Options

Option Description
--working-dir Target project directory (defaults to current directory)
--agent Coding agent to use: claude, copilot, or gemini. Auto-detected if not specified (prefers claude > copilot > gemini).
--cli-path Path to the coding agent CLI executable (auto-detected if not specified)
--filter Comma-separated glob patterns to filter packages (update-packages only)

How it works

  • fix-build: Restores packages, attempts a build (retries once on first failure), then uses the coding agent to read errors, inspect source files, and apply targeted fixes until the build succeeds.
  • update-packages: Runs dnx -y lr-nuget-update to update packages (with optional --filter), then runs the fix-build flow to resolve any breaking changes.

Supported agents

The tool auto-detects which coding agent CLI is available, preferring Claude Code > GitHub Copilot > Gemini CLI. Override with --agent:

lr-ai-fix-build fix-build --agent copilot
lr-ai-fix-build fix-build --agent gemini --cli-path /usr/local/bin/gemini

Installation

If you prefer to have it installed globally:

dotnet tool install -g lr.Dotnet.AiFixBuildTool

Usage after installation:

lr-ai-fix-build fix-build
lr-ai-fix-build update-packages --filter "Microsoft*"
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
2026.3.24.1719 133 3/24/2026