1
我想实现一个Msbuild Custome任务来循环项目列表,并对每个项目做一些事情。基本上我会愿意在msbuild中构建一个foreach或for循环。Msbuild自定义任务 - For循环
找遍四周,但没有发现有关的输出,虽然他们每个人
的很多有用的信息项的列表和循环我有什么
如何实现自定义任务 http://blogs.msdn.com/b/msbuild/archive/2006/01/21/515834.aspx
自定义msbuild任务的返回输出
Return output from an MsBuild task?
是否有可能通过msbuild自定义任务来实现我的?
更新:
我想的东西
<Foreach item='String' in="PropertyGroups" Property='MyPropertyName'>
//do what ever to use $(MypropertyName) for other tasks
</Foreach>
在我的问题 – icn
@icn追加例题 - 更具体。忽略foreach概念,你想为你的构建做些什么。 –