Re: Project templates in C#
I don't knoqw exactly what you want to do, but you can put all the classes in a Class Library, and then each application will reference to that library, and use the classes, or inherit from them in order to extend them.
Re: Project templates in C#
This is not bad solution. But if you realy want to modify template, edit C:\Program Files\Microsoft Visual Studio .NET 2003\VC#\DesignerTemplates\1033\NewWebServiceCode.cs (C:\Program Files\Microsoft Visual Studio .NET 2003\ change according to wherever you have installed VS).
Re: Project templates in C#
This is what I am looking for:
I create a custom project template(custom web service project).When I create an instance of it, it should open up a web service project with say a service1.asmx and service1.asmx.cs apart from the other files.In a default web service project the service1.asmx.cs will inherit from System.web.services.webservice,but in my case I want my service1.asmx.cs to inherit from MyCustomService and not System.web.services.webservice.
I wish to know where i need to make changes to get what I want.
I dont want to change the default settings because then all the web service projects will inherit from MyCustomService instead of System.web.services.webservice.
Any help would be appreciated.
CafeDreamz
Re: Project templates in C#
In the folder "C:\Program Files\Microsoft Visual Studio .NET 2003\VC#" and its subfloder is everythink you need to play with. I have tried the issue several tens of minutes and I dave it up. It seems, that not all is in files, but few rules is also hardcoded to IDE itself. But I hope you will succeede.