Working with ABP Studio, due to .NET 10 changes needed to install 2026 studio, removed old studio 2022 However, Action "Open in visual studio" stopped working.
How to resolve this?
3 Answer(s)
-
0
This typically happens because ABP Studio still tries to launch Visual Studio via the old (VS 2022) registration/path, and after uninstalling VS 2022 there is no longer a valid “devenv”/shell association to open the solution.
Fix it by re-establishing the Windows “open with Visual Studio” registration:
- Repair Visual Studio 2026
- Open Visual Studio Installer → select Visual Studio 2026 → More → Repair.
This re-registers Visual Studio shell commands and file associations that tools like ABP Studio rely on.
- Open Visual Studio Installer → select Visual Studio 2026 → More → Repair.
- Re-associate
.slnfiles with Visual Studio 2026 (important even if VS opens manually)- Right-click any
*.slnfile → Open with → Choose another app → pick Visual Studio 2026 → check Always use this app.
- Right-click any
- Restart ABP Studio (close it completely and open again) and try “Open in Visual Studio”.
- Repair Visual Studio 2026
If it still doesn’t work, the remaining reliable workaround is:
- Open the solution directly by double-clicking the
.sln(after the association above), or open VS first and use File → Open → Project/Solution.
- Open the solution directly by double-clicking the
Links (verified):
- https://abp.io/docs/latest/studio
- https://abp.io/docs/latest/studio/release-notes
- https://abp.io/get-started
This response was generated by AI. If it didn’t solve your problem, feel free to post a new answer — our support team will jump in to help you soon.
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
Updated both .sln and .slnx association, repaired 2026 install, restarted studio. also ran "devenv /updateConfiguration"
No success
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post) -
0
Hi,
Thanks for the update.
We checked the current ABP Studio behavior on our side. The
Open with -> Visual Studioaction does not use the Windows.sln/.slnxfile association. ABP Studio looks fordevenv.exeand launches Visual Studio directly. Because of that, updating the.slnand.slnxassociations would not change this specific action.So, since you already:
- repaired Visual Studio 2026,
- restarted ABP Studio,
- ran
devenv /updateConfiguration,
the most likely problem is that the Visual Studio registration/path ABP Studio relies on is not matching the current VS 2026 installation anymore.
As the next step, please run these guidance-only troubleshooting checks in a normal terminal:
Get-Item 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\devenv.exe' Get-Command devenv pwsh -Command "start devenv 'C:\full\path\to\your-solution.sln'"If your module uses a
.slnxfile, please test that file too.What these checks tell us:
- If the registry key is missing or still points to the old VS 2022 path, that explains why ABP Studio cannot open Visual Studio correctly.
- If
Get-Command devenvfails, thendevenvis not resolvable from the shell the way ABP Studio expects. - If the
pwshcommand also fails, the problem is outside the.slnassociation and is related to the Visual Studio shell/command registration. - If the command works but ABP Studio still does not open Visual Studio, then we need to look deeper into the Studio side.
If it still persists, please share these 4 details:
- Your ABP Studio version.
- The output/result of the commands above.
- Whether the problem happens for both
.slnand.slnx. - Whether ABP Studio shows any notification/error when you click
Open with -> Visual Studio.
Also, please make sure you are testing with the latest ABP Studio version.
As a temporary workaround, you can continue using
Open with -> Explorerand open the.sln/.slnxfile manually in Visual Studio.Best regards,
ABP Support Team
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)