Only target one assemblyinfo.cs

Oct 10, 2013 at 2:39 PM
Hi,
Great work with TFSVersioning - I've got my Build up and running and happily bumping the numbers :-)

Is it possible to only target one assemblyinfo.cs file with the AssemblyInfo file pattern ? I have a large project with a number of class libraries and one executable. Ideally I'd like to only version the exe and I'll take care of the class libraries manually.

Thanks
Dan
Coordinator
Oct 31, 2013 at 12:08 AM
Strictly speaking, if you have assemblies being built via a sln file, then all assemblies resulting from that build are the same version. After all they all were compiled. And, how do you know for sure that they haven't changed in some way?

if you are determined to do this. rename the assemblyinfo file to something else and change the pattern.

Mark