Updating version of multiple components using 1 file in c#

Posted by tony on Stack Overflow See other posts from Stack Overflow or by tony
Published on 2010-05-12T19:55:43Z Indexed on 2010/05/12 20:04 UTC
Read the original article Hit count: 201

Filed under:
|

Hello, I have a solution with many components and each component has its own version file (AssemblyInfo.cs). Currently each file as the standard structure:

[assembly: AssemblyVersion("1.0.0.0")] [assembly: AssemblyFileVersion("1.0.0.0")]

I would like to use the file version as the component version and keep that independent but I would like to have the "Product Version" be the same for all the components. I would like to do that by having a file at the solution level that is used by all the projects to get that version embedded.

Any suggestions Thanks Tony

© Stack Overflow or respective owner

Related posts about c#

Related posts about .NET