By running the following code on VS Code terminal. I had installed all the dependencies, dotnet SDK, dotnet runtime, and EF core. I am not running any DBMS like Sqllite / MSSQL server even on a docker container and get these errors for both sql providors.
<code> dotnet ef migrations add InitialMigration --project API.csproj
```
[I have got the following message after the first command](https://i.sstatic.net/0xhgzZCY.png)
```bash
dotnet build API.csproj
```
[Trying to build the project](https://i.sstatic.net/LRTOX94d.png)
```bash
sudo dotnet build API.csproj
```
[Trying to build with sudo](https://i.sstatic.net/YF0DkXsx.png)
**What should I do to solve this error ? **
</code>
<code> dotnet ef migrations add InitialMigration --project API.csproj
```
[I have got the following message after the first command](https://i.sstatic.net/0xhgzZCY.png)
```bash
dotnet build API.csproj
```
[Trying to build the project](https://i.sstatic.net/LRTOX94d.png)
```bash
sudo dotnet build API.csproj
```
[Trying to build with sudo](https://i.sstatic.net/YF0DkXsx.png)
**What should I do to solve this error ? **
</code>
dotnet ef migrations add InitialMigration --project API.csproj
```
[I have got the following message after the first command](https://i.sstatic.net/0xhgzZCY.png)
```bash
dotnet build API.csproj
```
[Trying to build the project](https://i.sstatic.net/LRTOX94d.png)
```bash
sudo dotnet build API.csproj
```
[Trying to build with sudo](https://i.sstatic.net/YF0DkXsx.png)
**What should I do to solve this error ? **
New contributor
Eslam Sayed is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.