Because Cursor is a VS Code fork, Microsoft's licensed C# tooling cannot run there, which trips up most .NET developers in the first hour. This guide maps the working extension options, a debugging setup that survives real solutions, Unity projects and the rules that keep the agent writing C# your way.
Key points
- Microsoft licenses C# Dev Kit and vsdbg for its own products only, so Cursor rebuilt a C# extension in 2025.
- Three realistic options exist: Anysphere's C# extension, ReSharper for Cursor and the MIT-licensed DotRush.
- Cursor's C# extension debugs through the open-source netcoredbg debugger instead of vsdbg.
- The console setting in launch.json is ignored, so interactive console apps cannot read stdin under the debugger.
- Open the folder holding the .sln and pin the SDK with global.json and dotnet.dotnetPath.
- Unity work relies on the community com.boxqkrtm.ide.cursor package plus DotRush's Unity debugger, outside official support.
Why it matters
Look past the setup steps and the story is about lock-in: extension licences, not missing features, decide what your editor can do, so choosing an AI-first IDE is partly a procurement decision. Teams standardising on one should treat the toolchain as a deliverable and keep a heavyweight IDE licensed for the difficult days, such as deep async debugging or stepping into decompiled sources. Migration cost is mostly muscle memory, not code. Before switching, ask who owns the gaps when something breaks and whether the editor should really own your build and test contract.
Real-world use
- A web team debugging an ASP.NET Core API with breakpoints and watches attached through launch.json
- A team doing Blazor or Razor-heavy work that wants ReSharper's toolset inside the AI editor
- Developers using Cursor as the script editor in a Unity project who need to attach a Mono debugger
- A large solution where the agent runs only the filtered tests touched by a change instead of the full suite
This summary was generated by the agent from the original post on DEV Community: #csharp. The full text and all rights belong to its author and publisher. Go to original