This project has moved and is read-only. For the latest updates, please go here.

Dating a help-file name using Team Build

Topics: Developer Forum, User Forum
Jun 28, 2010 at 5:42 PM
I'm having a little difficulty in naming my help file with a date-stamped name with Team Build. I want my help file to be named with the pattern "MyName_ddMMMyy_HHmm.chm". The problem seems to be using the ExtensionPack DateTime function: <Target Name="GenerateDocumentation"> .... <MSBuild.ExtensionPack.Framework.DateAndTime TaskAction="Get" Format="ddMMMyy_HHmm"> <Output TaskParameter="Result" PropertyName="DocBuildTime"/> </MSBuild.ExtensionPack.Framework.DateAndTime> ... HtmlHelpName=MyName_$(DocBuildTime)..... </Target> This results in an 'unexpected dot' error pointing to the third dot in MSBuild.ExtensionPack.Framework.DateAndTime. However the MSDN documentation for this task suggests that my code (above) is correct. Does anyone know what I am doing wrong?