Open Closed

ABP Upgrade issue #10114


0
amrsaafan created

Hi,

I am using this article to aspnetzero version https://docs.aspnetzero.com/en/common/latest/Version-Updating

I have an existing project, so I followed this section :

• First, create a new repository • Create an empty project from AspNet Zero website using your existing project name but select the version when you started development for your project. If you don't remember the initial AspNet Zero version you have started your project, you can check [*.Core/AppVersionHelper.cs]. • Add downloaded source code to your new repository and push to master branch. • Create a branch named dev from master branch. • Create two branches named aspnetzero and migrate from dev branch. • Copy your existing project's source code to migrate branch. • Switch to dev branch and update it from migrate branch. In this step, you will face conflicts. You have to resolve those conflicts manually.

at the last point I use : $ git checkout dev $ git merge migrate

and it comes back will all changes from migrate to dev branch, BUT it also overrides dev branch.

AppVersionHelper at dev branch before the update from migrate branch

AppVersionHelper at dev branch after update from migrate branch So, I think there is no Upgrade done after following the documentation !

Thanks, Amr Saafan https://www.nilebits.com/


3 Answer(s)
  • 0
    ismcagdas created
    Support Team

    Hi,

    What is the version number in AppVersionHelper in migrate branch ? If you copied latest version to migrate branch, it should be 10.2.

  • 0
    amrsaafan created

    Hi,

    After creating the migration branch from dev branch , yes AppVersionHelper is 10.2 , but after copy my existing project to the migration brnach, the version became 10.1 because AppVersionHelper at my existing project is 10.1

    The documentation is saying: Copy your existing project's source code to the migration branch

  • 0
    ismcagdas created
    Support Team

    Hi @amrsaafan

    Sorry about the confusion. Yes, this is correct. After this step, you need to follow https://docs.aspnetzero.com/en/common/latest/Version-Updating#new-projects section to update your project to latest version.