asp.net mvc 3 - How to use NuGet to scaffold to multiple projects in my solution? -



asp.net mvc 3 - How to use NuGet to scaffold to multiple projects in my solution? -

i have 3 projects in solution: mvc, domain, dal.

if have entity of tasks domain namespace, command line scaffold tasksdbcontext & tasksrepository in dal, tasksarea , taskscontroller in mvc?

thanks in advance.

to in single command, have build own custom scaffolder scaffold different parts different projects.

i found article help me create scaffolder creates files in different projects

http://www.jiffnotes.com/2012/04/05/t4scaffoldingacrossprojects.aspx

you can create scaffolder based on scaffolders t4scaffolding-nuget. in packages folder in solutionfolder , go "packages\t4scaffolding.1.0.6\tools\efdbcontext" , @ "t4scaffolding.efdbcontext.ps1" file see how works.

a great read if need larn basics of working scaffolders steven sanderson creating custom scaffolders.

asp.net-mvc-3 nuget nuget-package asp.net-mvc-scaffolding

Comments

Popular posts from this blog

How do I check if an insert was successful with MySQLdb in Python? -

delphi - blogger via idHTTP : error 400 bad request -

postgresql - ERROR: operator is not unique: unknown + unknown -