How to: change default company name in Assembly information.

When creating a new project in Visual Studio, it creates a default AssemblyInfo.cs for you.

I noticed that both the default company name and copyright notice attribute contained ‘Microsoft’ as its company name (this only happens on my Dell M6400 notebook). 
I got sick of changing it everytime, so I did some googling and found the following answer on eggheadcafe.

Visual Studio uses the company name you setup when installing Windows. Why the hell does it put in Microsoft then, you’ll ask… Most likely because my Dell notebook came pre-installed and I never changed it.

The following registry key contains the registered owner and company name of your Windows installation:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion

for 64bit, you also have to modify the WOW64 node:

HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows NT\CurrentVersion
posted @ 2011-04-22 08:36  Jake.Xu  阅读(256)  评论(0编辑  收藏