Re: Changing the VS 2003 Templates
From: Nicholas Paldino [.NET/C# MVP] (mvp_at_spam.guard.caspershouse.com)
Date: 01/17/05
- Next message: Jon Shemitz: "Re: Definitive reference book?"
- Previous message: Greg Merideth: "Re: Changing the VS 2003 Templates"
- In reply to: Greg Merideth: "Re: Changing the VS 2003 Templates"
- Next in thread: Lasse Vågsæther Karlsen: "Re: Changing the VS 2003 Templates"
- Messages sorted by: [ date ] [ thread ]
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.
>>
- Next message: Jon Shemitz: "Re: Definitive reference book?"
- Previous message: Greg Merideth: "Re: Changing the VS 2003 Templates"
- In reply to: Greg Merideth: "Re: Changing the VS 2003 Templates"
- Next in thread: Lasse Vågsæther Karlsen: "Re: Changing the VS 2003 Templates"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|