Add custom viewengine to New project dialog?

后端 未结 2 490
名媛妹妹
名媛妹妹 2021-01-24 03:02

When creating a new project for MVC3 I have an option to select a custom viewengine. I can choose between Razor and ASPX. Is there a way to add Spark

2条回答
  •  北荒
    北荒 (楼主)
    2021-01-24 03:50

    You have to add T4 templates that add support for other view engines (including Spark). Here's a link that explains it: http://weblogs.asp.net/jacqueseloff/archive/2010/07/30/mvc-3-supporting-custom-view-engines.aspx

提交回复
热议问题