Code Template

  • Thread starter Thread starter Franz
  • Start date Start date
F

Franz

I want to modify the code generated by the C# Windows Application Project. I
think I have to deal with the code template of that. Or can I create a new
project type?
I 've tried to find some information of that. Unfortunately, I cannot find
material I want.
 
I want to modify the code generated by the C# Windows Application Project. I
think I have to deal with the code template of that. Or can I create a new
project type?
I 've tried to find some information of that. Unfortunately, I cannot find
material I want.

You can change it. On my box, the templates for a Windows Application
are in:

C:\Program Files\Microsoft Visual Studio .NET 2003\VC#\VC#Wizards
\CSharpEXEWiz\Templates\1033

for instance.
 
You can create a new project type using the technology employed for
"enterprise templates" (E.T.)

E.T. goes MUCH further than just code templates and new project types, but
the tool support is still somewhat 'primitive'.

It is possible to create new project types without going into all the
complications of TDL policy files etc. - in fact you don't even have to
create an enterprise template solution.

Below are a couple of links to help get you started (you can skip the stuff
about policy files):
http://msdn.microsoft.com/library/d...reatingNewEnterpriseTemplateBuildingBlock.asp
http://msdn.microsoft.com/library/d...kWalkthroughCreatingNewEnterpriseTemplate.asp

Post again if you need more specific info.

Richard.
 
Back
Top