This project is read-only.
A macro performs some task and returns a string. Calling a macro looks like this:

These are the currently supported macros:
  • GetFileSize ( file )
    • This will get the file size of {file}.
  • BuildConditionToConfiguration ( )
    • Returns "Release" if the BuildCondition is "ForceBuild" otherwise it will return "Debug"
  • DateTimeToString(DateString, FormatString)
    • Returns a DateTime formated using the FormatString
  • DateTimeToString(FormatString)
    • Returns current DateTime formated using the FormatString
  • XslTransform ( xpathToRootElement, xslUrl )
    • Performs an Xsl Transform on the xml element selected from the frist argument in the integration task results

If you have request for macros, post comments here or in the discussions section.

Last edited May 2, 2008 at 5:11 PM by camalot, version 2


No comments yet.