# AllSolutionConfigurations?

**URL:** https://www.finalbuilder.com/forums/t/allsolutionconfigurations/1169
**Category:** Discussion
**Created:** [April 13, 2009, 9:23am UTC](https://www.finalbuilder.com/forums/t/allsolutionconfigurations/1169 "2009-04-13T09:23:39Z")
**Posts on this page:** 5
**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: [April 13, 2009, 9:23am UTC](https://www.finalbuilder.com/forums/t/allsolutionconfigurations/1169/1 "2009-04-13T09:23:39Z")

</div>

I need to build all configurations in a VS&nbsp;solution file.

There's an Action.AllSolutionConfigurations() property, but it doesn't appear to set the action to build all configurations.&nbsp; There's no documentation for this property.&nbsp; What does it do?&nbsp; Is there another way to do this?&nbsp;

I did find a post that suggested iterating the text in the solution file.&nbsp; Surely that's not the best way to get FB&nbsp;to build everything.

---

<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: [April 15, 2009, 6:07am UTC](https://www.finalbuilder.com/forums/t/allsolutionconfigurations/1169/2 "2009-04-15T06:07:19Z")

</div>

Hi Ed  
  
The VS.NET action doesn't support building all configurations at once.. neither does devenv or msbuild. The AllSolutionConfigurations returns a list of the config names (one per line). So the trick is to get the list of configs first and then iterate through the list.

I have attached an example project that shows how to do this.

&nbsp;

[BuildAllConfigs.fbp6](https://www.finalbuilder.com/forums/uploads/default/original/2X/9/9d30ca7dbe0cc6e5d1e93ef02de5e128685a8edc.fbp6) (27.752 KB)

---

<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: [November 30, 2009, 8:42am UTC](https://www.finalbuilder.com/forums/t/allsolutionconfigurations/1169/3 "2009-11-30T08:42:06Z")

</div>

How do I view the attachment?

---

<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: [November 30, 2009, 9:47am UTC](https://www.finalbuilder.com/forums/t/allsolutionconfigurations/1169/4 "2009-11-30T09:47:07Z")

</div>

Try again, fixed a config issue on the server.

---

<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: [November 30, 2009, 12:53pm UTC](https://www.finalbuilder.com/forums/t/allsolutionconfigurations/1169/5 "2009-11-30T12:53:24Z")

</div>

Thanks I go it ok this time&nbsp;
