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
May 16 at 6:40 PM
Hi,

You got this thing working! Cngratulations!!

I am happy even if it puts same version for everything.
I am using versionseed.xml. But I am getting all versions marked 0.0.0.0 .
Is there a way to be sure( some experiment) that it is reading my VersionSeed.xml

Do you have a separate AssemblyInfo.cs for each project ( I have but commented the relevant information as shown below)
//[assembly: AssemblyVersion("1.1.0.001")]
//[assembly: AssemblyFileVersion("1.2.0.001")]
Do I need to uncomment them?
-Manoj