This is what is wrong with AssemblyInfo.cs

    Date: 11/02/04 (C Sharp)    Keywords: templates, security, microsoft, google

    // Assembly someassembly, Version 1.0.1692.12511
    
    [assembly: AssemblyVersion("1.0.1692.12511")]
    [assembly: AssemblyKeyName("")]
    [assembly: AssemblyKeyFile("")]
    [assembly: AssemblyDelaySign(false)]
    [assembly: AssemblyTrademark("")]
    [assembly: AssemblyCopyright("")]
    [assembly: AssemblyProduct("")]
    [assembly: AssemblyCompany("")]
    [assembly: AssemblyConfiguration("")]
    [assembly: AssemblyDescription("")]
    [assembly: AssemblyTitle("")]
    
    Almost every assembly that isn't coming from Microsoft looks like the above. While assembles from Microsoft look like:
    
    // Assembly System.ServiceProcess, Version 1.0.5000.0
    
    [assembly: AssemblyVersion("1.0.5000.0")]
    [assembly: AssemblyDescription("System.ServiceProcess.dll")]
    [assembly: CLSCompliant(true)]
    [assembly: AssemblyDefaultAlias("System.ServiceProcess.dll")]
    [assembly: AssemblyKeyFile(@"E:\DNA\public\tools\common\security\FinalPublicKey.snk")]
    [assembly: AssemblyDelaySign(true)]
    [assembly: AssemblyConfiguration("Microsoft .NET Framework build environement is Retail.
     SafeSync counter=0")]
    [assembly: AssemblyTitle("System.ServiceProcess.dll")]
    [assembly: ComVisible(false)]
    [assembly: NeutralResourcesLanguage("en-US")]
    [assembly: SatelliteContractVersion("1.0.5000.0")]
    [assembly: AssemblyInformationalVersion("1.1.4322.2032")]
    [assembly: AssemblyTrademark("Microsoft and Windows are either registered trademarks or
     trademarks of Microsoft Corporation in the U.S. and/or other countries.")]
    [assembly: AssemblyCopyright("Copyright (C) Microsoft Corporation 1998-2002. All rights
     reserved.")]
    [assembly: AssemblyProduct("Microsoft (R) .NET Framework")]
    [assembly: AssemblyCompany("Microsoft Corporation")]
    [assembly: SecurityPermission(SecurityAction.RequestMinimum, SkipVerification=true)]
    
    This is just my pet peeve of the moment inre Microsoft tools and project defaults. Why must it be so hard to build your own project templates? It just makes no sense to me. Heck in the beat of 2005 they move the AssemblyInfo.cs file even further from developer eyes.

    [UPDATE]
    1. A general Google search which will return lots of empty AssemblyInfo.cs files
    2. And very little guidance from Microsoft in a site limited Google search.
    3. An example of a good AssemblyInfo.cs file from a blog.

    Source: http://www.livejournal.com/community/csharp/20491.html

« fast set || Interfaces »


antivirus | apache | asp | blogging | browser | bugtracking | cms | crm | css | database | ebay | ecommerce | google | hosting | html | java | jsp | linux | microsoft | mysql | offshore | offshoring | oscommerce | php | postgresql | programming | rss | security | seo | shopping | software | spam | spyware | sql | technology | templates | tracker | virus | web | xml | yahoo | home