CodeVerge.Net Beta


   Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums




Can Reply:  No Members Can Edit: No Online: Yes
Zone: > Asp.Net Forum > visual_studio.vs_2005_web_application_projects Tags:
Item Type: Date Entered: 4/26/2007 12:47:14 PM Date Modified: Subscribers: 0 Subscribe Alert
Rate It:
NR
XPoints: N/A Replies: 1 Views: 38 Favorited: 0 Favorite
2 Items, 1 Pages 1 |< << Go >> >|
"prashantlakhla
NewsGroup User
Setting Default content for every file type4/26/2007 12:47:14 PM

0

Hi all,

    In vs 2005, whenever we add any kind of file, it adds some default content to them. Suppose i add a class in C# Class library project called Default.cs then it will automatically add some coding of the class file like class name and constructor and some comments related to them.

I want to ask if anybody tell, is there any way to Change them or can we add some code so that it may be useful for some of my reusable code patterns? currently i'm using the snippets for that.

Thanks.

"Benson Yu - MS
NewsGroup User
Re: Setting Default content for every file type4/30/2007 2:26:33 AM

0

Hi prashantlakhlani,

 

We can use Visual Studio Item Templates for this request.

 

Create a CS file in your project and change the content you like. Then select File | Export Templates menu. You can export the CS file as a template. It will appear in My Templates section of Add New Item dialog.

 

For more information, please access following link:

Visual Studio Templates

http://msdn2.microsoft.com/en-us/library/6db0hwky(VS.80).aspx

 

 


Sincerely,
Benson Yu
Microsoft Online Community Support

Please remember to click ?Mark as Answer? on the post that helps you, and to click ?Unmark as Answer? if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.
2 Items, 1 Pages 1 |< << Go >> >|


Free Download:













sqlcommand and numeric_roundabort problem

newbie question about web application projects

problem with postback in a content page

still unable to view templates.

help me in this task

tab control on datalist

msgbox problem in asp.net application

web application interface with card reader

converting mp3 to flv or swf

debugging using visual studio

how to access methods from other project in solution?

embedded resources for page in web application project fails.

problem with .net framework 2.0 in windows 2003 server

what parts of the word “team” don’t you understand?

using wap and web site model on the same machine

codebehind issues when deploying a wap to server

aspnet_compiler vs. vs publish for web application projects

web services added as web applications are being converted to web sites

adding c# project to vb.net project

installation problem with vs2005 patch

working with web application and web site project

converting a web site project to a web application project ?

vs 2005 web application project >> web site project

export gridview to excel

roles and security by page, control and data level

how to enable "show all files"

wierd quasi-error when doing a website build in vs2005

support for web application projects

merging of two datatables

itemtemplatescache

mobile application

"unable to start debugging on the web server.the underlying conniction was closed:an unexpected error occurred on a send"

please help me....... [:'(]

custom server controls inside a wa project?

'convert to web application' context menu

simple question - no solution created for new wap

how to access a class function from global.asax on vs 2005 web application???

web application project now working

problem with deployment

problems creating a usercontrol library

event server handler in aspx files

web application migration wizard not being invoked

wap, typed datasets, and web.config connection strings

problems referencing public classes from certain aspx.vb files in web application project

why does designer partial class only contain declarations?

web application projects install error

debugging a project in a mutiple project/single solution application

wap works with codebeside or codebehind??

bulletin / community application project

profile admin question

   
  Privacy | Contact Us
All Times Are GMT