Search code examples
c#assemblyinfo

Setting the default values of AssemblyInfo.cs


What is the best way to change the default values that AssemblyInfo.cs is created with, e.g. I don't want the Microsoft bits in AssemblyCompany and AssemblyCopyright

[assembly: AssemblyCompany("Microsoft")]
[assembly: AssemblyCopyright("Copyright © Microsoft 2011")]

Solution

  • Probably only in registry:

    32 bit: HKLM\Software\Microsoft\Windows NT\CurrentVersion
    64 bit: HKLM\Software\Wow6432Node\Microsoft\WindowsNT\CurrentVersion
    

    Changing the default values for AssemblyInfo.cs

    Also here is the post on SO: How to change registration company name for Visual Studio 2008?