-1
Good afternoon.
I am starting a web project that is generating an error using the command: "dotnet Ef database drop" I used at the end of the -v command to generate a complete message.
Error message:
Build failed.
1 Error(s)
Microsoft.EntityFrameworkCore.Tools.CommandException: Build failed.
at Microsoft.EntityFrameworkCore.Tools.Project.Build()
at Microsoft.EntityFrameworkCore.Tools.RootCommand.Execute()
at Microsoft.DotNet.Cli.CommandLine.CommandLineApplication.Execute(String[] args)
at Microsoft.EntityFrameworkCore.Tools.Program.Main(String[] args)
I’ve already set up the ConnectionString
;
inserted all the PackageReference
of entity
in the csproj
created the model and context
I configured the program.Cs class
configured the startup class
Where am I going wrong?
I wasn’t compiling any, but I was. I checked the bugs by the IDE and reinstalled again , after which the bugs were fixed and I created a new project folder and it worked fine.
– Allan Alencar