visual studio - VS2013 create new class from template -
hi possible create template visual studio, when create new class contains description in header ?
on visual studio 2012 this:
find files
c:\\microsoft visual studio 11.0\common7\ide\itemtemplates\csharp\code\1033
the file want in appropriately named folder. if open
class
folder find following 2 files:class.cs
class.vstemplate
backup original files
change class.cs template file
save changes
tell visual studio changes
your new changes not loaded unless explicitly tell visual studio reload templates.
close visual studio
(or change swill not show until next time run it) open command prompt (you should run administrator if not admin of machine). change ide folder few levels above template folder (e.g. c:\\microsoft visual studio 10.0\common7\ide) run following command:
devenv.exe /installvstemplates
Comments
Post a Comment