How to change VS.NET version to use by script

Hi,
I have different project/solutions built using Visual Studio 2010 and Visual Studio 2019. I already use some VB script to change the type of build (Build/ReBuild) at runtime and I would like to know if there is a similar possibility to set the VS.NET version to use at runtime using the same script. I know that there is an option to automatically select the correct VS.BET version based on the content of the solution, but for some solutions/reasons, I want to force the use of another VS.NET version. Is there any way to solve this?
Best regards,
P.S: I use FB 8.0.0.2923

Hi Phillippe

The ability is there in 2923 however the constants were not exposed to scripting so it would have involved some guesswork. This build includes the script constants for the compiler version

https://downloads.finalbuilder.com/downloads/finalbuilder/800/FB800_2953.exe

You can set the property in the BeforeAction script event (javascript)

Action.VStudioVersion = vs2019

Hi Vincent,
Thanks for the quick reply and the information on how to access Visual Studio version from FB.
Best regards,