Hi,
I haven't upgraded my project to latest version recently. So If I'll use
get-project -all | get-package | ?{ $_.Id -like 'Abp*' } | update-package
to upgrade my app,will it give issues for my project ? I saw the latest version is V 0.10.0 and saw the number of AspNetCore packages also.Is there any braking changes ? If so please let me know and any if you have any reference please share it too.Thanks.
My Packages.config
<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.EntityFramework" version="0.9.3.0" targetFramework="net461" />
<package id="Abp.Zero" version="0.9.2.0" targetFramework="net461" />
<package id="Abp.Zero.EntityFramework" version="0.9.2.0" targetFramework="net461" />
<package id="Abp.Zero.Ldap" version="0.9.2.0" targetFramework="net461" />
<package id="AutoMapper" version="4.2.0" targetFramework="net461" />
<package id="Castle.Core" version="3.3.3" targetFramework="net451" />
<package id="Castle.LoggingFacility" version="3.3.0" targetFramework="net451" />
<package id="Castle.Windsor" version="3.3.0" targetFramework="net451" />
<package id="EntityFramework" version="6.1.3" targetFramework="net451" />
<package id="EntityFramework.DynamicFilters" version="1.4.10.2" targetFramework="net461" />
<package id="EPPlus" version="4.0.5" targetFramework="net452" />
<package id="Microsoft.AspNet.Identity.Core" version="2.2.1" targetFramework="net451" />
<package id="Newtonsoft.Json" version="8.0.3" targetFramework="net461" />
<package id="Nito.AsyncEx" version="3.0.1" targetFramework="net451" />
<package id="SharpZipLib" version="0.86.0" targetFramework="net461" />
<package id="System.Collections.Immutable" version="1.1.36" targetFramework="net461" />
<package id="System.Linq.Dynamic" version="1.0.6" targetFramework="net452" />
</packages>
4 Answer(s)
-
0
Hi,
v0.10.0.0 and v0.10.3.0 have some breaking changes but it's not hard to manage. You can see breaking changes here
<a class="postlink" href="https://github.com/aspnetboilerplate/aspnetboilerplate/releases/tag/v0.10.0.0">https://github.com/aspnetboilerplate/as ... /v0.10.0.0</a> <a class="postlink" href="https://github.com/aspnetboilerplate/aspnetboilerplate/releases/tag/v0.10.3.0">https://github.com/aspnetboilerplate/as ... /v0.10.3.0</a>
I suggest you to take a closer look at these two issues. <a class="postlink" href="https://github.com/aspnetboilerplate/aspnetboilerplate/issues/1175">https://github.com/aspnetboilerplate/as ... ssues/1175</a> <a class="postlink" href="https://github.com/aspnetboilerplate/aspnetboilerplate/issues/33">https://github.com/aspnetboilerplate/as ... /issues/33</a>
It's always better to update all packages if you have time for it :)
-
0
Hi,
Thanks a lot for the info.One question though, Why you have said like this "It's always better to update all packages if you have time for it" ? B'cos if I use the below mentioned command, all the packages should be updated no ? Am I right ?
get-project -all | get-package | ?{ $_.Id -like 'Abp*' } | update-package
-
0
Yes, you are right. But there might be some errors after upgrade and you need to deal with them which might takes some time.
-
0
Hi,
Sure,I'll contact again if I'll have any issues.Thanks a lot :)