This project is read-only.

Not all files/solutions are processed

Jan 16, 2012 at 6:20 PM

Hi,

First, let me thank you for this piece of work, it's brilliant. But (there's always a but, isn't there ;-) ) it does not work completely as expected. Can you think of any reason why some AssemblyInfo files are not processed? I have this solution with ~65 projects, all of them divided using Solution folders. Most files are processed as expected, some are not. Going through the build server and the solution log I can't find any obvious reasons, the projects are just skipped. AssemblyInfo Filename is correct, I have set the file version and file info version to a fixed value (1.1.1.1). The solution structure doesn't seem to be the problem since some projects that are processed are at the same level and path as projects that are skipped.

I have tried setting the perform checkin to different values to no avail. The same for Force Create version and some more.

Do you have any ideas?

Some build server output:

Process Version Pattern Updates
GetBuildDetail
Only do this IF there are projects (solutions) to build
ForEach<String>
Process each solution separately
ConvertWorkspaceItem
Assign
If
Validate then process Build Definition Values
Sequence
AssemblyVersion and AssemblyFileVersion
Assembly Version Processing: Using version number patterns included in build definition
Assign AssemblyVersionReplacementPattern
Assign AssemblyVersionReplacementPattern
Set all Assembly Property Values (b)
AssemblyTitleReplacementPattern
AssemblyDescriptionReplacementPattern
AssemblyConfigurationReplacementPattern
AssemblyCompanyReplacementPattern
AssemblyProductReplacementPattern
AssemblyCopyrightReplacementPattern
AssemblyTrademarkReplacementPattern
AssemblyCultureReplacementPattern
AssemblyInformationalVersionReplacementPattern
Versioning assemblies with the following patterns: AssemblyVersion(1.1.1.1) and AssemblyFileVersion(1.1.1.1)
Assign
FindMatchingFiles
Check out the AssemblyInfo files if necessary
UpdateAssemblyInfoFileVersion
Process each solution separately
Handle Matching Files
Process Matching Files
Enumerate Matching Files
Sequence
Updating version information in E:\CIBuilds\PCD Build - NL\Plancare Dossier\Backoffice\DHS.Backoffice.Business\Properties\AssemblyInfo.cs
If AssemblyVersion is defined
Convert Pattern and Replace AssemblyVersion
ConvertVersionPattern
Replace AssemblyVersion
Replacing AssemblyVersion in AssemblyInfo.cs with 1.1.1.1
If AssemblyFileVersion is defined
Convert Pattern and Replace AssemblyFileVersion
ConvertVersionPattern
Replace AssemblyFileVersion
Replacing AssemblyFileVersion in AssemblyInfo.cs with 1.1.1.1
GetBuildDetail
ReplaceAssemblyInfoProperties
Sequence
    Etc......

 

Jan 17, 2012 at 3:23 PM

Nevermind, found the problem: http://tfsversioning.codeplex.com/workitem/31623