services   articles   contacts  
 
Assembly Info Creator
Helping you in your development
 
 

Assembly Info Creator is a small console application used to generate the AssemblyInfo file from one or many xml files. It merge all the xml file to create one output file in any of these language:

  • C#
  • VB.NET
  • Delphi.NET

The goal is to maintains only one xml file with your general information (company name, version, copyright...) and put the specific assembly information (assembly name, description...) in a specific xml file.

 
  Getting Started  
 
  • Download the latest version here (4.0.0.0)
  • Download the source here (4.0.0.0)
 
  Usage  
 


command line:

AssemblyInfoCreator.exe [out] <input> <input> ...

options:

/language:<language> /l:<language>
    Specified the output language {CS / DELPHI / VB}

/out:<filename> /o:<filename>
    Specified a output cs file to create with the input xml files (optional,
    could be specified in the xml file) /input:<filename>

/i:<filename>
    Specified the xml file for the create (*.aid)


 
  Code samples  
 
  • Generic file (base.aid) with the company and the share project informations :
    <?xml version="1.0" encoding="utf-8"?>
    <AssemblyInfoDef>
      <AssemblyCompany>My company</AssemblyCompany>
      <AssemblyConfiguration />
      <AssemblyCopyright />
      <AssemblyDescription />
      <AssemblyCulture />
      <AssemblyDelaySign>false</AssemblyDelaySign>
      <AssemblyKeyFile />
      <AssemblyKeyName />
      <AssemblyProduct>My Product</AssemblyProduct>
      <AssemblyTitle></AssemblyTitle>
      <AssemblyTrademark />
      <AssemblyVersion>2.1.0.5</AssemblyVersion>
      <Index>0</Index>
      <OutputFileName />
    </AssemblyInfoDef>
  • Specific file (client.aid) with the specific informations :
    <?xml version="1.0" encoding="utf-8"?>
    <AssemblyInfoDef >
      <AssemblyCompany />
      <AssemblyConfiguration />
      <AssemblyCopyright />
      <AssemblyDescription />
      <AssemblyCulture />
      <AssemblyDelaySign>false</AssemblyDelaySign>
      <AssemblyKeyFile />
      <AssemblyKeyName />
      <AssemblyProduct />
      <AssemblyTitle>Client.exe</AssemblyTitle>
      <AssemblyTrademark />
      <AssemblyVersion />
      <Index>1</Index>
      <OutputFileName>AssemblyInfo.cs</OutputFileName>
    </AssemblyInfoDef>
  • Command line used to create the resulting assembly info ::
    AssemblyInfoCreator.Console.exe -l:cs -i:"base.aid" -i:"Client\Properties\client.aid"
 
Copyright ©2006, Devolutions inc.
Français