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?
P.S: I use FB 220.127.116.1123
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
Action.VStudioVersion = vs2019
Thanks for the quick reply and the information on how to access Visual Studio version from FB.