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

The term 'scaffold' is not recognized as the name of a cmdlet, function, script file, or operable program

$
0
0

I've been developing an ASP.NET MVC 4 project for a while now and I've been using the "MVCScaffolding" package successfully but a few days ago I noticed that when creating a new controller for example the item for MVCScaffolding does not show up anymore. trying to run the scaffold command will also result in the following error:

The term 'scaffold' 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:9+ scaffold <<<< + CategoryInfo          : ObjectNotFound: (scaffold:String) [], CommandNotFoundException

I've noticed that this problem has been mentioned several times on this page but no solutions have been provided.

Also the "MVCScaffolding" package could be used by other projects under the same environment in different solutions but not the same solution so I guess it is something specific to this solution. I've already tried uninstalling and reinstalling the packages manually or by the following commands, reinstalling nuget and restarting VS an windows several times :) ;

Uninstall-Package MvcScaffolding -RemoveDependenciesInstall-Package MvcScaffolding

What I'm looking for is first and obviously how to resolve this specific issue and second, In general in such cases where should one be looking for in order to start debugging the problem? how does the command prompt determines whether or not a command is available?

Thanks in advance.


Viewing all articles
Browse latest Browse all 3067

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>