CodeBetter.Com
CodeBetter.Com
RSS 2.0 via Feedburner
           Do you Twitter? Follow us @CodeBetter

Darrell Norton's Blog [MVP]

Fill in description here...

Use a single AssemblyInfo file for multiple projects

If you want to have a single AssemblyInfo file for a multi-project solution, the easiest way to do it is:

  1. Place the AssemblyVersion attribute in a single source file, for example AssemblyVersionInfo.cs or AssemblyVersionInfo.vb.
  2. Share the file across any projects that need to share the same version number within VSS (or CVS, Vault, Subversion, etc.).

From chap 5 of the Team Development with Visual Studio .NET and Visual SourceSafe guide.



Comments

Darrell said:

I'm not sure if a web app has the "link file" option or not. What I was suggesting was using your source code control system (such as SourceSafe) to share the file among projects. When you get latest version from SourceSafe, a copy of the AssemblyInfo.** file will be downloaded to every project if you have set it up correctly.
# February 2, 2005 6:17 AM
Check out Devlicio.us!