There is of course no such option as using customizable scaffolding from EF6 model to views/controller in DNX project's in newest MVC 6. But I've tried to use the PM console command Scaffold
(aka Invoke-Scaffolder
, from T4Scaffolding.Core.1.0.0\tools\T4Scaffolding.dll
) to investigate what custom codegeneration could migrate and what could not.
Scaffold -Scaffolder Controller -Project DemoDnxMvcApp -OverrideTemplateFolders "D:\cot\klik\kk\vse\V1.DnxMvcApp\" -Force Templates
and get an error 'project DemoDnxMvcApp not found'. It seems t4 scaffolder doesn't understand xproj projects, can't process them.
But also I've noticed there is now possibility to create and execute t4 template inside a such project (e.g that could generate TypeScript from EF6 model).
- How I could make T4 EF6 scaffolding working with xproj projects?
- How I could make even simple T4 template working in DNX project ?
- What tool could replace it in DNX projects if T4 is not supported any more (not enough 'crossplatform')?
P.S. (beta5 DNX used)