- ABP Framework version: v5.1.1 & 5.1.2
- UI type: Angular / MVC / Blazor
- DB provider: EF Core / MongoDB
- Tiered (MVC) or Identity Server Separated (Angular): yes / no
- Exception message and stack trace:
-
- Steps to reproduce the issue:"
I am having issues with version 5.1 of the framework and these issues are causing delays in our project. Consequently, I am trying to revert to 5.0.0 and I am experiencing difficulties in doing that.
I need to baseline the generated project using v5.0.0 to manually compare the code with our v5.1.2 version and revert the code.
I uninstalled abp cli and suite: dotnet tool uninstall --global Volo.Abp.Suite dotnet tool uninstall --global Volo.Abp.Cli
I then reinstalled v5.0.0: dotnet tool install -g volo.abp.cli --version 5.0.0 dotnet tool install -g Volo.Abp.Suite --add-source https://nuget.abp.io/XXXXXXXXXXX/v3/index.json --version 5.0.0 abp login XXXXX --organization XXXXXX -p XXXXXX
When I start abp suite, it indicates 5.0.0:
When I create a new solution, abp suite creates it as 5.1.2:
Package references are all 5.1.2:
I am under the impression that installing specific versions of the cli & suite will generate based on that version template?
Can you please help get me back to 5.0.0?
Thanks Jamie
7 Answer(s)
-
0
I was able to create a version 5.0.0 project using the CLI:
abp new MyApp -t app-pro --version 5.0.0 --ui mvc --tiered
Is ABP Suite working as intended or is this a bug?
Thanks
-
0
hi
I recommend you always use the latest patch version of CLI and SUITE.
-
0
Thank you for the tip.
I updated the CLI and SUITE to 5.0.2 and I am unable to build my solution, due to missing framework packages.
C:\Users\Jamie\Source\Repos\CTS_Portal2\apps\acs-portal\aspnet-core>dotnet restore Determining projects to restore... Restored C:\Users\Jamie\Source\Repos\CTS_Portal2\apps\acs-portal\aspnet-core\src\Acs.Cts.Portal.DbMigrator\Acs.Cts.Portal.DbMigrator.csproj (in 13.75 sec). Restored C:\Users\Jamie\Source\Repos\CTS_Portal2\apps\acs-portal\aspnet-core\src\Acs.Cts.Portal.Web.Public\Acs.Cts.Portal.Web.Public.csproj (in 17.79 sec). C:\Users\Jamie\Source\Repos\CTS_Portal2\apps\acs-portal\aspnet-core\src\Acs.Cts.Portal.Application\Acs.Cts.Portal.Application.csproj : warning NU1603: Acs.Cts.Portal.Application depends on Volo.Abp.Account.Pro.Admin.Application (>= 5.0.2) but Volo.Abp.Account.Pro.Admin.Application 5.0.2 was not found. An approximate best match of Volo.Abp.Account.Pro.Admin.Application 5.1.1 was resolved. [C:\Users\Jamie\Source\Repos\CTS_Portal2\apps\acs-portal\aspnet-core\Acs.Cts.Portal.sln] C:\Users\Jamie\Source\Repos\CTS_Portal2\apps\acs-portal\aspnet-core\src\Acs.Cts.Portal.Application\Acs.Cts.Portal.Application.csproj : error NU1605: Detected package downgrade: Volo.Abp.Identity.Pro.Application from 5.1.1 to 5.0.2. Reference the package directly from the project to select a different version. [C:\Users\Jamie\Source\Repos\CTS_Portal2\apps\acs-portal\aspnet-core\Acs.Cts.Portal.sln] C:\Users\Jamie\Source\Repos\CTS_Portal2\apps\acs-portal\aspnet-core\src\Acs.Cts.Portal.Application\Acs.Cts.Portal.Application.csproj : error NU1605: Acs.Cts.Portal.Application -> Volo.Abp.Account.Pro.Admin.Application 5.1.1 -> Volo.Abp.Account.Pro.Shared.Application 5.1.1 -> Volo.Abp.Identity.Pro.Application (>= 5.1.1) [C:\Users\Jamie\Source\Repos\CTS_Portal2\apps\acs-portal\aspnet-core\Acs.Cts.Portal.sln] C:\Users\Jamie\Source\Repos\CTS_Portal2\apps\acs-portal\aspnet-core\src\Acs.Cts.Portal.Application\Acs.Cts.Portal.Application.csproj : error NU1605: Acs.Cts.Portal.Application -> Volo.Abp.Identity.Pro.Application (>= 5.0.2) [C:\Users\Jamie\Source\Repos\CTS_Portal2\apps\acs-portal\aspnet-core\Acs.Cts.Portal.sln] Failed to restore C:\Users\Jamie\Source\Repos\CTS_Portal2\apps\acs-portal\aspnet-core\src\Acs.Cts.Portal.Application\Acs.Cts.Portal.Application.csproj (in 19.01 sec). C:\Users\Jamie\Source\Repos\CTS_Portal2\apps\acs-portal\aspnet-core\test\Acs.Cts.Portal.Application.Tests\Acs.Cts.Portal.Application.Tests.csproj : warning NU1603: Acs.Cts.Portal.Application depends on Volo.Abp.Account.Pro.Admin.Application (>= 5.0.2) but Volo.Abp.Account.Pro.Admin.Application 5.0.2 was not found. An approximate best match of Volo.Abp.Account.Pro.Admin.Application 5.1.1 was resolved. [C:\Users\Jamie\Source\Repos\CTS_Portal2\apps\acs-portal\aspnet-core\Acs.Cts.Portal.sln] C:\Users\Jamie\Source\Repos\CTS_Portal2\apps\acs-portal\aspnet-core\test\Acs.Cts.Portal.Application.Tests\Acs.Cts.Portal.Application.Tests.csproj : error NU1605: Detected package downgrade: Volo.Abp.Identity.Pro.Application from 5.1.1 to 5.0.2. Reference the package directly from the project to select a different version. [C:\Users\Jamie\Source\Repos\CTS_Portal2\apps\acs-portal\aspnet-core\Acs.Cts.Portal.sln] C:\Users\Jamie\Source\Repos\CTS_Portal2\apps\acs-portal\aspnet-core\test\Acs.Cts.Portal.Application.Tests\Acs.Cts.Portal.Application.Tests.csproj : error NU1605: Acs.Cts.Portal.Application.Tests -> Acs.Cts.Portal.Application -> Volo.Abp.Account.Pro.Admin.Application 5.1.1 -> Volo.Abp.Account.Pro.Shared.Application 5.1.1 -> Volo.Abp.Identity.Pro.Application (>= 5.1.1) [C:\Users\Jamie\Source\Repos\CTS_Portal2\apps\acs-portal\aspnet-core\Acs.Cts.Portal.sln] C:\Users\Jamie\Source\Repos\CTS_Portal2\apps\acs-portal\aspnet-core\test\Acs.Cts.Portal.Application.Tests\Acs.Cts.Portal.Application.Tests.csproj : error NU1605: Acs.Cts.Portal.Application.Tests -> Acs.Cts.Portal.Application -> Volo.Abp.Identity.Pro.Application (>= 5.0.2) [C:\Users\Jamie\Source\Repos\CTS_Portal2\apps\acs-portal\aspnet-core\Acs.Cts.Portal.sln] Failed to restore C:\Users\Jamie\Source\Repos\CTS_Portal2\apps\acs-portal\aspnet-core\test\Acs.Cts.Portal.Application.Tests\Acs.Cts.Portal.Application.Tests.csproj (in 25.11 sec). C:\Users\Jamie\Source\Repos\CTS_Portal2\apps\acs-portal\aspnet-core\src\Acs.Cts.Portal.HttpApi.Host\Acs.Cts.Portal.HttpApi.Host.csproj : warning NU1603: Acs.Cts.Portal.Application depends on Volo.Abp.Account.Pro.Admin.Application (>= 5.0.2) but Volo.Abp.Account.Pro.Admin.Application 5.0.2 was not found. An approximate best match of Volo.Abp.Account.Pro.Admin.Application 5.1.1 was resolved. [C:\Users\Jamie\Source\Repos\CTS_Portal2\apps\acs-portal\aspnet-core\Acs.Cts.Portal.sln] C:\Users\Jamie\Source\Repos\CTS_Portal2\apps\acs-portal\aspnet-core\src\Acs.Cts.Portal.HttpApi.Host\Acs.Cts.Portal.HttpApi.Host.csproj : error NU1605: Detected package downgrade: Volo.Abp.Identity.Pro.Application from 5.1.1 to 5.0.2. Reference the package directly from the project to select a different version. [C:\Users\Jamie\Source\Repos\CTS_Portal2\apps\acs-portal\aspnet-core\Acs.Cts.Portal.sln] C:\Users\Jamie\Source\Repos\CTS_Portal2\apps\acs-portal\aspnet-core\src\Acs.Cts.Portal.HttpApi.Host\Acs.Cts.Portal.HttpApi.Host.csproj : error NU1605: Acs.Cts.Portal.HttpApi.Host -> Acs.Cts.Portal.Application -> Volo.Abp.Account.Pro.Admin.Application 5.1.1 -> Volo.Abp.Account.Pro.Shared.Application 5.1.1 -> Volo.Abp.Identity.Pro.Application (>= 5.1.1) [C:\Users\Jamie\Source\Repos\CTS_Portal2\apps\acs-portal\aspnet-core\Acs.Cts.Portal.sln] C:\Users\Jamie\Source\Repos\CTS_Portal2\apps\acs-portal\aspnet-core\src\Acs.Cts.Portal.HttpApi.Host\Acs.Cts.Portal.HttpApi.Host.csproj : error NU1605: Acs.Cts.Portal.HttpApi.Host -> Acs.Cts.Portal.Application -> Volo.Abp.Identity.Pro.Application (>= 5.0.2) [C:\Users\Jamie\Source\Repos\CTS_Portal2\apps\acs-portal\aspnet-core\Acs.Cts.Portal.sln] Failed to restore C:\Users\Jamie\Source\Repos\CTS_Portal2\apps\acs-portal\aspnet-core\src\Acs.Cts.Portal.HttpApi.Host\Acs.Cts.Portal.HttpApi.Host.csproj (in 28.23 sec). 12 of 17 projects are up-to-date for restore.
I manually updated the project references from 5.0.0 to 5.0.2, as it appears that the abp update command updates to the latest version, rather than the installed version of the cli and suite, which seems counterintuitive.
Is there a command that can update to a specified version?
Thanks
-
0
I update the solution to use Volo.Abp.Identity.Pro.Application 5.0.1 and it now compiles, except for a missing method used by one of the tests: AbpApplicationFactory.CreateAsync
However, I experience the same issue building a docker image with this patch version as I did with version 5.1.2: https://support.abp.io/QA/Questions/2459/Docker-build-failure
-
1
AbpApplicationFactory.CreateAsync
This method only available in v5.1+ https://github.com/abpframework/abp/pull/10928
I will check the docker problem.
-
0
We are experiencing the docker issue, too.
-
0
hi
We will check the docker problem. : )