How to update assmebly version info with new build and revision during build?

Posted by hrushikesh on Stack Overflow See other posts from Stack Overflow or by hrushikesh
Published on 2009-06-25T06:35:37Z Indexed on 2010/06/11 5:02 UTC
Read the original article Hit count: 265

Filed under:
|
|

I have to update the build number in assembly version of assemblyinfo.cs file. I have written a custom tasks which updates all the assmeblyinfo.cs under a solution before starting build. But when i change this file and try to build then some of my dlls which has reference of other dlls not able to compile as they dont find the specific version assembly. I have some files which uses strong name assembly also. Not sure how to update their version. I have tried setting specific version to false,but still same error is coming.

Can you anybody tell me the good way to update the assemblyinfo.cs with incremental build number?

P.S. i am using NANT tasks for automating by builds.

© Stack Overflow or respective owner

Related posts about update

Related posts about assemblyinfo