Tuesday, April 24, 2007

* Visual Studio Tip : How to change the default assembly information

New project creation in Visual Studio takes place based on Project Templates provided by Visual Studio or custom templates created.

When we create a new console application using the default project template provided by Visual Studio, the assembly.info is generated by default with some data like Company & Copyright information which is populated using information provided at time of installation.

If you want to change this default generated data, here is the trick.

The default project templates are stored in equivalent of following folder in Visual Studio 2005 installation area :

D:\Program Files\Microsoft Visual Studio 8\Common7\IDE\ProjectTemplates.

Suppose if you want to change the default values for C# console application, change the assembly.info file located in following folders:

D:\Program Files\Microsoft Visual Studio 8\Common7\IDE\ProjectTemplates\CSharp\Windows\1033\ConsoleApplication.zip

D:\Program Files\Microsoft Visual Studio 8\Common7\IDE\ProjectTemplatesCache\CSharp\Windows\1033\ConsoleApplication.zip

Other Posts

No comments:

Post a Comment