Quantcast
Channel: Active questions tagged nuget-package - Stack Overflow
Viewing all articles
Browse latest Browse all 3170

The term 'Update-Database' is not recognized as the name of a cmdlet-Visual Studio 2019/2022

$
0
0

firtst of all I know there is already a post with the same title but none of the solutions provided there helped me. Besides that post is really old and the VS versions are totally different, so I figured that there is something else going on.

I following a tutorial the Getting Started with .NET on AWS tutorial from AWS skill builder and one of the steps is to run the Updte-Database command on the NuGet Package Manager console from Visual Studio.

I've tried this on VS 2022 and VS 2019, but it doesn't work. I keep getting this error:

Update-Database : The term 'Update-Database' is not recognized as thename of a cmdlet, function, script file, or operable program. Checkthe spelling of the name, or if a path was included, verify that thepath is correct and try again. At line:1 char:1

  • Update-Database
  • CategoryInfo : ObjectNotFound: (Update-Database:String) [], CommandNotFoundException
  • FullyQualifiedErrorId : CommandNotFoundException

Viewing all articles
Browse latest Browse all 3170

Trending Articles