1
我想使用MSBuild提取目录中的所有zip文件。而不是每个在目录中找到每个压缩文件解压缩调用任务多次,我宁愿使用循环不知何故,例如:如何使用MSBuild提取目录中的多个zip文件
for each zip file in $(directory)
<unzip [email protected](zipFile) targetDirectory=$(destination) />
感谢,
我想使用MSBuild提取目录中的所有zip文件。而不是每个在目录中找到每个压缩文件解压缩调用任务多次,我宁愿使用循环不知何故,例如:如何使用MSBuild提取目录中的多个zip文件
for each zip file in $(directory)
<unzip [email protected](zipFile) targetDirectory=$(destination) />
感谢,
你靠近,使用批处理任务,像这样:
<unzip file=%(zipFile.Identity) targetDirectory=$(destination) />
感谢Brian,它的工作原理。 – Jefe 2012-02-06 15:57:20