How to configure build numbers in Visual Studio to enable dll comparison

Posted by jaminto on Stack Overflow See other posts from Stack Overflow or by jaminto
Published on 2010-03-09T18:37:32Z Indexed on 2010/04/12 12:53 UTC
Read the original article Hit count: 378

Filed under:
|
|

Hi Everyone-
I am building a C# solution in Visual Studio 2008 that has several projects and project dependencies.
I am looking for a way to change dll version numbers ONLY when the code that builds the project changes.

I currently use Beyond Compare to compare my locally built version to the production file system. The goal is to ONLY deploy updated dlls. I am using autoincrementing version numbers, and each time you open visual studio and do a build, all dll version numbers increment. The same goes for a full solution rebuild and when a different developer does a build and tries to deploy.

Is there a way that i can configure Visual Studio to ONLY increment the build number based on changed file contents? Is there an add in that will do this?

It seems a binary comparison of these files will also fail because of the different version numbers within the dlls. Does anyone know of a better tool compare only the contents of dlls?

Thanks in advance.

© Stack Overflow or respective owner

Related posts about visual-studio

Related posts about c#