Base solution for your next web application
Open Closed

What is the best practice of updating ABP version on TFS? #1215


User avatar
0
amrsaafan created

Hello,

What is the best practice of updating ABP version on TFS including nugets and template files on already existing project?

We are using aspnetBoilerPlate 0.9 for an exsting project. We are using Visual Studio Online TFS as source control. We need to take advantage of 0.9.1 update Is it enough to update Nugets only? and what about Template Files? Do we have to download new template and make a new branch from the Trunk?

Please Advise.


2 Answer(s)
  • User Avatar
    0
    daws created

    I'm in the same case.

    When a new release is out (for nuget + aspnetzero Template) :

    1. update of ABP nugets (and dependencies)
    2. fix breaking change (see the github release to see if there is any breaking change)
    3. if it run, ... it run :D
    4. download the latest template
    5. update current project with the template (I set the same name and structure for my project than the Template) with a copy/paste in my solution.
    6. resolve naming dependencies if there is some wrong copy/paste.

    and voila ... in conclusion, there is no magic solution.

    1. update your nuget
    2. fix breaking change
    3. check the github for changes (or copy/paste all files that are the same as the Template without modification from your side; if it's the same naming)

    note : wait for the 0.9.2 version, there is some bug on 0.9.1.1 :)

    making a new branch for every new version will be a nightmare in TFS, but it's up to you :) Good branch : (following the correct order of publishing dev->test->acc->prod)

    • DEV (for all your tests, nuget update, dev)
    • TEST (testing, if your dev seems ok)
    • ACC (acceptance, validation by client)
    • PROD (production, release in prod)
  • User Avatar
    0
    hikalkan created
    Support Team

    Thank you @daws for that good information. You probably said it for AspNet Zero but @amrsaafan asked for free templates. @amrsaafan, don't get template updates, it's just for startup. There is no change on template effects your existing solution. All library published on nuget. Just upgrade packages and fix breaking changes if does exists.