You can if you're triggering scaffolding from Command Window
For example:
> Scaffold DbContext <modelType> <dbContextName> -Folder /Models/Entities
More info http://blog.stevensanderson.com/2011/01/13/mvcscaffolding-standard-usage/
Question
Is there any possibilities to change default projects and folders where MvcScaffolding generates repositories, views and controllers?
Solution
You can if you're triggering scaffolding from Command Window
For example:
> Scaffold DbContext <modelType> <dbContextName> -Folder /Models/Entities
More info http://blog.stevensanderson.com/2011/01/13/mvcscaffolding-standard-usage/
OTHER TIPS
The output folder is specified in the powershell script that runs the template. You need to generate custom scaffolders, and set them as the default scaffolders. Here's how I did it for a repository:
Scaffold CustomScaffolder MyRepository
$outputPath = Join-Path Repositories ($foundModelType.Name + "Repository")
Add-ProjectItemViaTemplate $outputPath -Template MyRepository
Set-DefaultScaffolder Repository MyRepository
The views and controllers should be a similar process, except the original ps1 and t4 files are in "packages\MvcScaffolding.1.0.9\tools"
Regarding the repository scaffolder:
Regarding the other scaffolders (Action, View, etc..)