Re: Changing the VS 2003 Templates

From: Nicholas Paldino [.NET/C# MVP] (mvp_at_spam.guard.caspershouse.com)
Date: 01/17/05


Date: Mon, 17 Jan 2005 15:14:12 -0500

Greg,

    In VS.NET 2005, I wouldn't recommend changing the templates in this
manner. There is a much more robust system which allows you to tweak and
modify your own types. There should be a few articles on this on MSDN on
how to do this.

    Hope this helps.

-- 
               - Nicholas Paldino [.NET/C# MVP]
               - mvp@spam.guard.caspershouse.com
"Greg Merideth" <beta-gm@forwardtechnology.net> wrote in message 
news:etmdnffh-pJNh3HcRVn-sA@comcast.com...
> Found it, wasn't in the folder but it at least showed me where to look.
>
> It's all the way down in:
>
> <Program Files>\Microsoft Visual Studio .NET 
> 2003\VC#\VC#Wizards\CSharpWebServiceWiz\Templates\1033
>
> Thanks.  This will save me many hours of cutting and pasting.  I've got 
> some work ahead of me in the beta vs 2005, I'll check the folders in there 
> as well.
>
> I figured something like this would be part of the VS environment to be 
> able to change the templates easily.
>
> Nicholas Paldino [.NET/C# MVP] wrote:
>> Greg,
>>
>>     Yes, it is possible.  For VS.NET 2003, there is a directory under the 
>> IDE that has a file, "Class1.cs".  This file is a template that is used 
>> in conjunction with other files (there is a common.js file which sets up 
>> variables I believe) to generate the new files when you select new items.
>>
>>     Unfortunately, I can't remember where the directory is, as I've 
>> uninstalled VS.NET 2003, in favor of VS.NET 2005.  The structure is 
>> different in VS.NET 2005, so I can't reference my current installation.
>>
>>     From what I remember, it would be under:
>>
>> <Program Files>\Microsoft Visual Studio .NET 2003\VC#\CSharpProjectItems
>>
>>     And then there would be a directory with the Class1.cs file in there.
>>
>>     Hope this helps.
>> 


Relevant Pages

  • Re: Unexpected error writing metadata. WTF?
    ... I referenced previously was the first link. ... Nicholas Paldino [.NET/C# MVP] ... > Nicholas Paldino schrieb:>> Rüdiger, ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: [OT] Graphics Card
    ... Nicholas Paldino [.NET/C# MVP] ... To be more precise,> the flicker occurs exactly where the labels and buttons are being drawn> on the modal form. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Is it possible to call C# code from C++ ?
    ... Qualifying .NET Types for Interoperation ... Nicholas Paldino [.NET/C# MVP] ... > Nicholas Paldino wrote:>> Ricky, ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: COM Calling C# Security Issue
    ... Nicholas Paldino [.NET/C# MVP] ... > Nicholas Paldino wrote:> ... Does the>> user account which the process is running under have the appropriate rights>> to access the network? ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: C# Generics: Why int[] doesnt implement IList<int>?
    ... Nicholas Paldino [.NET/C# MVP] ... > Nicholas Paldino wrote:> ... > used to implement arrays. ...
    (microsoft.public.dotnet.languages.csharp)