Could not check if project were [sic] modified

Mar 9, 2011 at 5:41 PM

FYI - It looks like there is an issue when T4 Templates are in the project. The error message and stack trace are below.

To duplicate the error:

1. Create a project with a T4 Template.
2. Execute the template (Right Click... Run Custom Tool)
3. Build 

 

Error occured while executing build version increment.
System.FormatException: String was not recognized as a valid DateTime.
   at System.DateTimeParse.Parse(String s, DateTimeFormatInfo dtfi, DateTimeStyles styles)
   at System.DateTime.Parse(String s)
   at BuildVersionIncrement.BuildVersionIncrementor.CheckProjectItem(ProjectItem item, DateTime outputFileDate)
   at BuildVersionIncrement.BuildVersionIncrementor.IsProjectModified(Project project)
   at BuildVersionIncrement.BuildVersionIncrementor.IsSolutionItemModified(SolutionItem solutionItem)
   at BuildVersionIncrement.BuildVersionIncrementor.ExecuteIncrement()