2
Vote

'Scaffold-Repository' is not recognized as the name of a cmdlet.

description

I'm trying to get the MVCScaffold package to work and it's throwing an error for any of the commands. Here is the error for the Scaffold-Repository command:

PM> Scaffold-Repository -m Mold -c SiteDB
The term 'Scaffold-Repository' 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:20
  • Scaffold-Repository <<<< -m Mold -c SiteDB
  • CategoryInfo : ObjectNotFound: (Scaffold-Repository:String) [], CommandNotFoundException
  • FullyQualifiedErrorId : CommandNotFoundException
I've uninstalled and reinstalled both NuGet and the MVCScaffold 0.2 package a couple times. I've removed the full Packages folder and reinstalled and still no luck. I did have this going at one point but had to uninstall and reinstall NuGet because it wasn't recognizing List-Package or any of the package manager commands either. I have it recognizing the package manager commands now, just not the scaffolding ones.

comments