Skip to main content
Version: older

v3.7.2 to v3.7.3

AUTOMATIC MIGRATION

  1. Use the BIAToolKit to migrate the project

  2. Manage the conflict (2 solutions)

    1. In BIAToolKit click on "4 - merge Rejected" and search <<<<< in all files.
    • Resolve the conflict manually.
    1. Analyze the .rej file (search "diff a/" in VS code) that have been created in your project folder
    • Apply manually the change.
  3. Apply other manual step (describe bellow) at the end if all is ok, you can remove the .rej files (during the process they can be useful to resolve build problem)

MANUAL STEPS

  1. If you don't use the Offline mode, disable the serviceWorker in the angular.json file : "serviceWorker": false
  2. Update the appsettings.json file

change the fileLog block to this one:

      "fileLog": {
"type": "File",
"fileName": "E:\\Logs\\BIADemo\\${shortdate}_TheBIADevCompany.BIADemo_Api.log",
"archiveAboveSize": 10000000,
"archiveNumbering": "Rolling",
"archiveEvery": "Day",
"maxArchiveFiles": 60,
"layout": "${longdate}|${uppercase:${level}}|${aspnet-traceidentifier}|${message} ${exception:format=tostring}"
}

change the rules block to this one:

    "rules": [
{
"logger": "Microsoft.EntityFrameworkCore.*",
"finalMinLevel": "Warn"
},
{
"logger": "*",
"minlevel": "Info",
"writeTo": "fileLog"
}
//{
// "logger": "error.mail",
// "minlevel": "Error",
// "writeTo": "mailLog"
//}
]