문제

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.

Or is the best way to either shell out to a command line or write an inline C# script?

See this question for getting the size of a directory

도움이 되었습니까?

해결책

You can use the file::get-length Function.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top