project reference-switcher

Project case study

Reference Switcher

A JetBrains Rider plugin for switching NuGet package references to local .NET projects and restoring them exactly.

The Rider plugin discovers local SDK-style .NET projects, replaces a selected PackageReference with a relative ProjectReference, and preserves the original XML for a safe restore.

Stack
Kotlin, JetBrains Rider SDK, .NET, MSBuild

Architecture

  1. Configurable local source roots
  2. Background project discovery and package matching
  3. PackageReference switch tracking and exact restoration

Highlights

  • Published on JetBrains Marketplace for Rider 2025.1+
  • Preserves project formatting and the complete original package reference
  • Refuses unsafe restores when the managed reference has changed

Get it on JetBrains Marketplace

View source on GitHub

Connection lost. The terminal needs to reload. View the plain resume
connection

❯ connection lost
attempting to rejoin the server...

❯ retrying connection
next attempt in s

error: unable to reach server
check your connection and retry

❯ session paused
terminal state has been preserved

error: unable to resume session
start again or continue with the static resume

view the plain resume