Add-Migration : The term ‘Add-Migration’ is not recognized

Details error: Solution Simply, install Microsoft.EntityFrameworkCore.Tools package from nuget: Install-Package Microsoft.EntityFrameworkCore.Tools -Version 3.1.6 You can also use this link to install the latest version: Nuget package link Tips: Install latest stable version. Sometimes, the error persists because of cache, so restart can solve the issue without doing anything. Continue reading Add-Migration : The term ‘Add-Migration’ is not recognized

Invalid option ‘7.3’ for /langversion; must be ISO-1, ISO-2, Default, Latest or a valid version in range 1 to 7.1.

This compiler error occurs sometime because of version change where dotnet compiler version and c# version are incompatible. Error: Compilation ErrorDescription: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.            Compiler Error Message: CS1617: Invalid option ‘6’ for /langversion; must be ISO-1, ISO-2, 3, 4, 5 or Default Compiler Error … Continue reading Invalid option ‘7.3’ for /langversion; must be ISO-1, ISO-2, Default, Latest or a valid version in range 1 to 7.1.