# Automating VS.Net builds

**URL:** https://www.finalbuilder.com/forums/t/automating-vs-net-builds/307
**Category:** Discussion
**Created:** [January 12, 2007, 10:07am UTC](https://www.finalbuilder.com/forums/t/automating-vs-net-builds/307 "2007-01-12T10:07:11Z")
**Posts on this page:** 4
**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: [January 12, 2007, 10:07am UTC](https://www.finalbuilder.com/forums/t/automating-vs-net-builds/307/1 "2007-01-12T10:07:11Z")

</div>

Hi all,  
  
I would like to know how to access internal properties of [VS.Net](http://VS.Net) Solutions build actions to be able to automate such builds and in particular how to change the type of build (Buid, ReBuild, Clean, Deploy) using project variables. I know that this is done using the Script Editor for the action with something like :  
  
Action.PropertyStore.PropertyAsString(…) =   
  
But the list of available properties and corresponding choices is not given.   
  
How can I proceed ?  
  
Thanks.  
  
_P.S: I use FinalBuilder 3_

---

<div class="post-metadata">

### Author: ![angus](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/a/b3f665/32.png) [@angus](https://www.finalbuilder.com/forums/u/angus)
#### Post date: [January 15, 2007, 12:34pm UTC](https://www.finalbuilder.com/forums/t/automating-vs-net-builds/307/2 "2007-01-15T12:34:33Z")

</div>

Hi Philippe,  
  
You should be able to just type Action. then Control-Space to see a list of properties. To change the build type, use:  
  
Action.SolutionConfiguration = “Release”  
  
… or something similar.  
  
Regards,  
  
  
Angus

---

<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: [January 31, 2007, 9:51am UTC](https://www.finalbuilder.com/forums/t/automating-vs-net-builds/307/3 "2007-01-31T09:51:27Z")

</div>

I have a second remark on the configuration property.  
  
If you put it on Release | any cpu, the output folder   
becomes “bin\release” althought it was set to “bin” in the solution file at first.  
  
when I script that property   
action.solutionconfiguration = "release"  
the output folder becomes what I wanted to be "bin"  
  
my question= why was this change made? Would an output-property not be more transparent?  
  
Greetings,

---

<div class="post-metadata">

### Author: ![tate](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/t/e19b73/32.png) [@tate](https://www.finalbuilder.com/forums/u/tate)
#### Post date: [January 31, 2007, 10:56am UTC](https://www.finalbuilder.com/forums/t/automating-vs-net-builds/307/4 "2007-01-31T10:56:34Z")

</div>

Sorry, this bug has been fixed. We originally put in a special work around for “any cpu” and the output directory for the Release Candidate of VS 2005 - Microsoft has since fixed the bug and so you can use this build that removes the FB workaround:  
  
[https://www.finalbuilder.com/downloads/finalbuilder/500/FB500\_118.exe](https://www.finalbuilder.com/downloads/finalbuilder/500/FB500_118.exe)
