Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
NAnt 或 NAntContrib 是否有办法获取文件的大小?我已经搜索了两者的文档,但没有看到一个。
或者是外壳到命令行或编写内联 C# 脚本的最佳方式?
请参阅此问题以获取目录的大小
您可以使用file::get-length 函数。