For using Database projects with SQL Server we need to run the below commands:

List the available dotnet sdks:
Code:
dotnet --list-sdks
...