# VS .NET Iterator

**URL:** https://www.finalbuilder.com/forums/t/vs-net-iterator/1784
**Category:** Discussion
**Created:** [June 20, 2011, 6:06am UTC](https://www.finalbuilder.com/forums/t/vs-net-iterator/1784 "2011-06-20T06:06:10Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [June 20, 2011, 6:06am UTC](https://www.finalbuilder.com/forums/t/vs-net-iterator/1784/1 "2011-06-20T06:06:10Z")

</div>

I&nbsp;don't understand the .NET Iterator.&nbsp; What's it for?&nbsp; I need to be able to build Release and Debug builds of all my VS&nbsp;2008 Projects.&nbsp; Can .NET Iterator help me with that ?&nbsp;

---

<div class="post-metadata">

### Author: ![stephen.ryan](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/s/f14d63/32.png) [@stephen.ryan](https://www.finalbuilder.com/forums/u/stephen.ryan)
#### Post date: [June 21, 2011, 1:21am UTC](https://www.finalbuilder.com/forums/t/vs-net-iterator/1784/2 "2011-06-21T01:21:49Z")

</div>

Hi Scott   
  
 The VS .NET Solution Iterator action allows you to specify a a solution file and then iterate over the projects within the solution. You can choose which properties to iterate over:   
 - Project Name   
 - Project File Absolute Path   
 - Project File Relative Path   
 - Project ID   
  
 In your case you can use a solution iterator to iterate over the projects in your solution (setting the variable to the Project File Absolute Path). Then nested underneath the iterator action you can use the build VS .NET Solution action to build the current project (you will need two instances, one for Debug and one for Release configuration), using the variable you set in the iterator action as the path to your project.   
  
 Hope this helps.   
  
 Regards,   
 Steve

---

<div class="post-metadata">

### Author: ![Vincent](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/vincent/32/938_2.png) [@Vincent](https://www.finalbuilder.com/forums/u/Vincent)
#### Post date: [June 21, 2011, 2:06am UTC](https://www.finalbuilder.com/forums/t/vs-net-iterator/1784/3 "2011-06-21T02:06:57Z")

</div>

Another option is to use a regular expresion in the configuration field of the [VS.NET](http://VS.NET) action. For example :   
  
 .\*x86   
  
 Would build all x86 configurations in the solution.   
  
 HTH
