title: How to get the size of a file in NAnt
body: <p>Does NAnt or NAntContrib have a way to get the size of a file?  I have searched the docs for both, but don't see one.</p>
  
  <p>Or is the best way to either shell out to a command line or write an inline C# script?</p>
  
  <p>See <a href="https://stackoverflow.com/questions/7522261/how-to-get-the-size-of-a-directory-in-nant">this question</a> for getting the size of a directory</p>