Hi Team
- dotnet ef dbcontext scaffold "Server=GcobaniM-L\SQLEXPRESS;Database=eNtsaRegistration;Trusted_Connection=True;" Microsoft.EntityFrameworkCore.SqlServer -o Models
- dotnet : Could not execute because the specified command or file was not found.
- At line:1 char:1
- + dotnet ef dbcontext scaffold "Server=GcobaniM-L\SQLEXPRESS;Database=e ...
- + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- + CategoryInfo : NotSpecified: (Could not execu... was not found.:String) [], RemoteException
- + FullyQualifiedErrorId : NativeCommandError
-
- Possible reasons for this include:
- * You misspelled a built-in dotnet command.
- * You intended to execute a .NET Core program, but dotnet-ef does not exist.
- * You intended to r
- un a global tool, but a dotnet-prefixed executable with this name could not be found on the PATH.
I want to create models on my MVC web app, i somehow deleted them accidentically manually and now getting some errors. Below is my special command to execute, i do have these following packages installed already;Install-Package Microsoft.EntityFrameworkCore.Tools Install-Package Microsoft.EntityFrameworkCore.SqlServer