简体   繁体   中英

Can MVC Scaffolding T4 Templates be installed using VSIX?

I have a MVC template that should be installed in

Common7\\IDE\\ItemTemplates\\CSharp (or Visual Basic)\\Web\\MVC (or 2) 3\\CodeTemplates

as noted here .

Is there a way to include this on a VSIX package?

  1. Install the Visual Studio 2012 SDK (also available for 2010).
  2. Create a VSIX project.
  3. Double click the *.vsixmanifest file to open the manifest designer.
  4. Add a new project template asset and point it to your template *.zip file.



Additionally, you can try the template Template Wizard Extension if you want to export a template and VSIX in one step:

http://msdn.microsoft.com/en-us/library/vstudio/ff527343(v=vs.100).aspx

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM