Open Closed

Upgrade my old project to latest #1677


0
sampath created

Hi, Can you tell me what are the steps which I have to follow to update my project to latest ABP. I saw that you have released Zero 1.12.2 and boilerplate 0.11.2.

My project is very old now.Zero : 1.10.1 and boilerplate : 0.9.3.0.

I normally merge the templates manually using KDiff3 tool.So can you give me the links which I should follow to upgrade my project into latest ?

<packages>
  <package id="Abp" version="0.9.3.0" targetFramework="net461" />
  <package id="Abp.AutoMapper" version="0.9.3.0" targetFramework="net461" />
  <package id="Abp.Zero" version="0.9.2.0" targetFramework="net461" />
  <package id="Abp.Zero.Ldap" version="0.9.2.0" targetFramework="net461" />
  <package id="AutoMapper" version="3.3.1" targetFramework="net461" />
  <package id="Castle.Core" version="3.3.3" targetFramework="net461" />
  <package id="Castle.LoggingFacility" version="3.3.0" targetFramework="net461" />
  <package id="Castle.Windsor" version="3.3.0" targetFramework="net461" />
  <package id="Microsoft.AspNet.Identity.Core" version="2.2.1" targetFramework="net461" />
  <package id="Newtonsoft.Json" version="8.0.3" targetFramework="net461" />
  <package id="Nito.AsyncEx" version="3.0.1" targetFramework="net461" />
  <package id="System.Collections.Immutable" version="1.1.36" targetFramework="net461" />
</packages>

10 Answer(s)
  • 0
    hikalkan created
    Support Team

    Hi,

    For the AspNet Zero template, you can use some merge tool as you are using. That's OK. (see my detailed answer on this topic: #1073)

    For the framework part, you should read release notes (and blog posts linked in release notes) to adapt breaking changes if exists.

    Release notes:

    • For Abp.* packages: <a class="postlink" href="https://github.com/aspnetboilerplate/aspnetboilerplate/releases">https://github.com/aspnetboilerplate/as ... e/releases</a>
    • For Abp.Zero.* packages: <a class="postlink" href="https://github.com/aspnetboilerplate/module-zero/releases">https://github.com/aspnetboilerplate/mo ... o/releases</a>

    You should start from the version you currently have and follow up to the latest version.

    Have a nice day.

  • 0
    sampath created

    Hi,

    OK got it.One question though,what about nugget packages ? Do I need to run those things also one by one like this ?

    Abp.Zero 0.9.4 Abp.Zero 0.9.6 Abp.Zero 0.10.0 | | Abp.Zero 0.12.0

    OR is that enough to run Abp.Zero 0.12.0 only ?

  • 0
    hikalkan created
    Support Team

    Directly update to Abp.* 0.12 packages (not step by step), then check release notes one by one and apply if there is a needed change.

  • 0
    sampath created

    OK got it.Thanks a lot :)

  • 0
    sampath created

    Hi,

    I have done the nugget package update.Now it's giving below error.can you tell me how to sort out it ?

  • 0
    hikalkan created
    Support Team

    Please see especially breaking changes in the release notes. There was a simple breaking change in v0.11: <a class="postlink" href="https://github.com/aspnetboilerplate/aspnetboilerplate/releases/tag/v0.11.0.0">https://github.com/aspnetboilerplate/as ... /v0.11.0.0</a> (see how to fix: <a class="postlink" href="https://github.com/aspnetboilerplate/aspnetboilerplate/issues/1305">https://github.com/aspnetboilerplate/as ... ssues/1305</a>)

  • 0
    sampath created

    Hi,

    Great.Thanks a lot :)

  • 0
    sampath created

    Hi,

    Now I have this error ? I have downloaded the "aspnet-zero-1.12.2" source code and there it's having this

    <package id="Abp.Castle.Log4Net" version="0.11.3.0" targetFramework="net461" />
    

    But latest nugget there is no such package.can you tell me why ?

    My one :

    <packages>
      <package id="Abp" version="0.12.0.0" targetFramework="net461" />
      <package id="Abp.AutoMapper" version="0.12.0.0" targetFramework="net461" />
      <package id="Abp.EntityFramework" version="0.12.0.0" targetFramework="net461" />
      <package id="Abp.EntityFramework.Common" version="0.12.0.0" targetFramework="net461" />
      <package id="Abp.Zero" version="0.12.0.0" targetFramework="net461" />
      <package id="Abp.Zero.EntityFramework" version="0.12.0.0" targetFramework="net461" />
      <package id="AutoMapper" version="5.1.1" targetFramework="net461" />
      <package id="Castle.Core" version="3.3.3" targetFramework="net461" />
      <package id="Castle.Core-log4net" version="3.3.3" targetFramework="net461" />
      <package id="Castle.LoggingFacility" version="3.3.0" targetFramework="net461" />
      <package id="Castle.Windsor" version="3.3.0" targetFramework="net461" />
      <package id="Castle.Windsor-log4net" version="3.3.0" targetFramework="net461" />
      <package id="EntityFramework" version="6.1.3" targetFramework="net461" />
      <package id="EntityFramework.DynamicFilters" version="2.3.0" targetFramework="net461" />
      <package id="log4net" version="1.2.10" targetFramework="net461" />
      <package id="Microsoft.AspNet.Identity.Core" version="2.2.1" targetFramework="net461" />
      <package id="Newtonsoft.Json" version="9.0.1" targetFramework="net461" />
      <package id="Nito.AsyncEx" version="3.0.1" targetFramework="net461" />
      <package id="System.Collections.Immutable" version="1.2.0" targetFramework="net461" />
      <package id="System.Linq.Dynamic" version="1.0.6" targetFramework="net461" />
    </packages>
    

    aspnet-zero-1.12.2 code base.

    <packages>
      <package id="Abp" version="0.11.3.0" targetFramework="net461" />
      <package id="Abp.AutoMapper" version="0.11.3.0" targetFramework="net461" />
      <package id="Abp.Castle.Log4Net" version="0.11.3.0" targetFramework="net461" />
      <package id="Abp.EntityFramework" version="0.11.3.0" targetFramework="net461" />
      <package id="Abp.EntityFramework.Common" version="0.11.3.0" targetFramework="net461" />
      <package id="Abp.Zero" version="0.11.2.0" targetFramework="net461" />
      <package id="Abp.Zero.EntityFramework" version="0.11.2.0" targetFramework="net461" />
      <package id="AutoMapper" version="5.1.1" targetFramework="net461" />
      <package id="Castle.Core" version="3.3.3" targetFramework="net461" />
      <package id="Castle.LoggingFacility" version="3.3.0" targetFramework="net461" />
      <package id="Castle.Windsor" version="3.3.0" targetFramework="net461" />
      <package id="EntityFramework" version="6.1.3" targetFramework="net461" />
      <package id="EntityFramework.DynamicFilters" version="1.4.11" targetFramework="net461" />
      <package id="log4net" version="2.0.5" targetFramework="net461" />
      <package id="Microsoft.AspNet.Identity.Core" version="2.2.1" targetFramework="net461" />
      <package id="Newtonsoft.Json" version="9.0.1" targetFramework="net461" />
      <package id="Nito.AsyncEx" version="3.0.1" targetFramework="net461" />
      <package id="System.Collections.Immutable" version="1.2.0" targetFramework="net461" />
    </packages>
    
  • 0
    sampath created

    when I try to update that package it's giving below error :

  • 0
    ismcagdas created
    Support Team

    Hi,

    This might be a temporary nuget.org issue. You can see the package 0.11.3 in this link <a class="postlink" href="http://www.nuget.org/packages/Abp.Castle.Log4Net/0.11.3">http://www.nuget.org/packages/Abp.Castle.Log4Net/0.11.3</a>.

    Try to close and reopen visual studio and try to update nuget packages again. It might work.