I'm trying to find documentation on how to use the MvcScaffold package on nuPack, but I can't find anything anywhere.
I know I have basic intellisense support in the Package Management Console, but I want to do something a little more complicated than your typical scaffolding.
I was hoping there would be some documentation somewhere.
Does anyone know where there is documentation on this package?
I can't seem to find the reference to the actual project either. Though Scott Hanselman has an example in his blog post on NuPack. The scaffolding is invoked through a simple power shell script, so you can always refer to that.
There are three commands available:
> Get-MvcViewTemplates (gets a list of available T4 templates)
> Add-MvcView TemplateName (creates a view based on a T4 template:
I.E. List, Details, Edit,
Create or Delete)
> Scaffold-MvcViews -ModelType MyModel (creates views for the model)
The example above uses only the mandatory parameters, but you can use any of the additional parameters:
> Add-MvcView Edit -ModelType Product -OutputFileExtension .ascx