开发者

MSBuild: How to exclude zero length files?

开发者 https://www.devze.com 2023-01-06 00:48 出处:网络
I use some task that works with files (Copy for examp开发者_开发技巧le), but I want to exclude all files that are empty (0 bytes length). Is there a syntax to do this?You will have yo write a custom t

I use some task that works with files (Copy for examp开发者_开发技巧le), but I want to exclude all files that are empty (0 bytes length). Is there a syntax to do this?


You will have yo write a custom task for this. If you are using MSBuild 4, then you can also create an Inline Task (http://msdn.microsoft.com/en-us/library/dd722601.aspx).

0

精彩评论

暂无评论...
验证码 换一张
取 消