CLI and Studio versions are 3.0.6 Suite version is 10.5.0
But in ABP Studio new solution creates 10.4.1 instead of 10.5.0.
I have removed and reinstalled everything but with no change.
Can you fix ABP Studio so that it creates solutions as per latest release.
Thanks, Roger
2 Answer(s)
-
0
- This is expected behavior: ABP Studio does not always generate a solution with the latest patch version. Studio/Studio CLI uses a version-mapping table between the Studio version and the startup template version, so a given Studio build can generate a fixed template version (e.g., 10.4.1) even if the platform has moved to 10.5.0.
- Fix/workaround: create the solution, then switch it to the latest stable packages.
What to do (recommended)
- Create the solution in ABP Studio (it may come as 10.4.1).
- In ABP Studio, run Switch to stable (UI action), or from a terminal in the solution root run:
abp switch-to-stableThis updates the solution’s ABP NuGet/NPM package versions to the current stable line (e.g., 10.5.0).
Why reinstalling didn’t help
- Reinstalling Studio/CLI won’t change the generated version if your Studio build is still mapped to an older template version.
Sources
- https://abp.io/docs/latest/studio/version-mapping
- https://abp.io/docs/latest/cli#switch-to-stable
- https://abp.io/support/questions/9380
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
Hi,
This isn't related to your license or a broken install. ABP Studio pins the ABP version inside its solution templates, and the 3.0.6 build ships with 10.4.1 baked in. So any solution created with Studio 3.0.6 comes out as 10.4.1 no matter how many times you reinstall, and clearing caches won't change it either.
Since your ABP Suite is already on 10.5.0, the easiest way for now is to create the solution from Suite (it generates the solution with its own version, so you'll get 10.5.0) and then open that solution in ABP Studio.
We've already updated the templates to 10.5.0, and it will ship with the next ABP Studio release, so creating directly in Studio will default to 10.5.0 once you update.
Thanks
Markdown supported.Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)