add-to-solution

star 0

Add an existing .NET project to a solution file using dotnet sln add. Use when the user wants to include a project in a solution.

2chevskii By 2chevskii schedule Updated 3/5/2026

name: add-to-solution description: Add an existing .NET project to a solution file using dotnet sln add. Use when the user wants to include a project in a solution. argument-hint: [--solution ] allowed-tools: Bash(dotnet sln *)

Add an existing project to a solution file using dotnet sln add. Do NOT edit .sln or .slnx files by hand.

Steps

  1. Locate the solution file if not specified. If there is exactly one solution file in the working directory, use it. If there are multiple, ask the user which one to use.

  2. Run:

    dotnet sln <solution-file> add <path/to/project.csproj>
    
  3. Confirm the project was added successfully and report the solution file and project path.

Arguments

$ARGUMENTS — path to the project file to add, and optionally the solution file to add it to. If no project path is provided, ask the user which project to add before proceeding.

Install via CLI
npx skills add https://github.com/2chevskii/Nitpick.Functional.Unit --skill add-to-solution
Repository Details
star Stars 0
call_split Forks 0
navigation Branch main
article Path SKILL.md
More from Creator