I have just started using Visual Studio 2013 with EF6 and I have created a demo application with MVC 4. I tried to scaffold a controller but i keep getting an error. I have installed MVCScaffolding from the Package Manager Console and everything installed correctly including T4Scaffolding, T4Scaffolding.Core... however I keep getting this error. Please help me out
Invoke-Scaffolder : A positional parameter cannot be found that accepts argument 'Student'.
At line:1 char:1
+ Scaffold Controller Student -Repository
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (:) [Invoke-Scaffolder], ParameterBindingException
+ FullyQualifiedErrorId : PositionalParameterNotFound,T4Scaffolding.Cmdlets.InvokeScaffolderCmdlet
Please tell me what I am doing wrong. Thanks A lot
Thank you for the suggestions. I solved this by using this command instead. Worked like a charm.
Install-Package MvcScaffolding -Version 1.0.8-vs2013 -Pre
I got it from this another question