ASP.NET Core
A set of technologies in the .NET Framework for building web applications and XML web services.
4,400 questions
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Error at seventh step (below)
PM> Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore -Version 6.0.11
Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore : The term 'Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore' is not recognized as
the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the
path is correct and try again.
At line:1 char:1
+ Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore -Version 6.0.11
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (Microsoft.AspNe...tyFrameworkCore:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PM> Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore
Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore : The term 'Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore' is not recognized as
the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the
path is correct and try again.
At line:1 char:1
+ Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (Microsoft.AspNe...tyFrameworkCore:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
PM> Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore -Version 6.0.11
Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore : The term 'Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore' is not recognized as
the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the
path is correct and try again.
At line:1 char:1
+ Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore -Version 6.0.11
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (Microsoft.AspNe...tyFrameworkCore:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
Steps: Introduction to Identity on ASP.NET Core
Migrations 7. Install-Package Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore -Version 6.0.11
"Install-Package" is the actual command which is missing from the command line as shown in PM error message you shared. Manage packages with the Visual Studio Package Manager Console (PowerShell)
PM> Install-Package Microsoft.AspNetCore.Diagnostics.EntityFrameworkCore -Version 6.0.11