Automating VS.Net builds

Hi all,

I would like to know how to access internal properties of 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

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

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,

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