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
http://msdn.microsoft.com/en-us/library/eehb4faa.aspx
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 9.0Common7IDEProjectTemplatesVisualBasicwindows1033WindowsApplication.zip
and
…Microsoft Visual Studio 9.0Common7IDEProjectTemplatesCacheVisualBasicWindows1033WindowsApplication.zip