3
Vote

Custom ControllerWithRepository.cs.t4 is ignored

description

Hi,

It appears that the custom T4 template ControllerWithRepository.cs.t4 is ignored when scaffolding. The controller that is generated is based off the default template.

Thanks,

Chris

comments

jostevenson wrote Nov 13, 2012 at 3:23 AM

What command are you issuing from the Package Manager Console? Are you passing in the -Repository switch, eg:

Scaffold Controller SOMEENTITY -Repository

?