How to set Visual Studio 2008’s default “company name”

Option 1: Modify the registry info
32bit OS: HKLMSoftwareMicrosoftWindows NTCurrentVersionRegisteredOrganization
64bit OS: HKLMSoftwareWow6432NodeMicrosoftWindows NTCurrentVersionRegisteredOrganization
It’s according to the following MSDN library documentation:
#Template Parameters

For the AssemlyCompany (CompanyName) in AssemblyInfo, it’s $registeredorganization$ which uses value from registry key value from HKLMSoftwareMicrosoftWindows NTCurrentVersionRegisteredOrganization.
(For 64 bit OS, the registry key is HKLMSoftwareWow6432NodeMicrosoftWindows NTCurrentVersionRegisteredOrganization)
Option 2: Modify the template file

Open the template package and customize assemblyInfo file. Please remember to customize this file both in the ProjectTemplates folder and ProjectTemplatesCache folder.

For example:
For VB.NET Winform project, I should modify assemblyInfo file in:
…Microsoft Visual Studio
…Microsoft Visual Studio

Leave a Reply

Your email address will not be published. Required fields are marked *