# Set 'Build VS.Net Solution' property from variable?

**URL:** https://www.finalbuilder.com/forums/t/set-build-vs-net-solution-property-from-variable/1271
**Category:** Discussion
**Created:** [July 28, 2009, 6:31am UTC](https://www.finalbuilder.com/forums/t/set-build-vs-net-solution-property-from-variable/1271 "2009-07-28T06:31:09Z")
**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: [July 28, 2009, 6:31am UTC](https://www.finalbuilder.com/forums/t/set-build-vs-net-solution-property-from-variable/1271/1 "2009-07-28T06:31:09Z")

</div>

Is it possible to set the 'Configuration' property (ie Release, Debug etc) of a 'Build VS.Net Solution' action from a variable?

I've seen examples where script actions have been used to set the action (ie build, rebuild etc) but not for the 'Configuration' property.  
&nbsp;

FinalBuilder version: 5.5.0.518  
Visual Studio version:&nbsp;2008

Thanks.

---

<div class="post-metadata">

### Author: ![paulsamways](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/p/e8c25b/32.png) [@paulsamways](https://www.finalbuilder.com/forums/u/paulsamways)
#### Post date: [July 29, 2009, 1:13am UTC](https://www.finalbuilder.com/forums/t/set-build-vs-net-solution-property-from-variable/1271/2 "2009-07-29T01:13:37Z")

</div>

Hi Shane,   
  
 The configuration property can be set using a variable simply by referencing the variable in the field. So all you need to do is create the variable, set it’s value then in the actions ‘Solution’ property page set ‘Configuration’ to '%ConfigurationVariable%, where ConfigurationVariable is the name of the variable that you’ve defined.   
  
 Regards,   
 Paul.

---

<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: [July 29, 2009, 10:56am UTC](https://www.finalbuilder.com/forums/t/set-build-vs-net-solution-property-from-variable/1271/3 "2009-07-29T10:56:37Z")

</div>

Thanks Paul. Trying the obvious hadn’t even occurred to me.
