I have a set of Microsoft C# Compiler actions setup and I want to compile each using .NET 1.1 first followed by .NET 2.0. I know I can copy paste the actions and have one group set for .NET 1.1 and a second group for .NET 2.0. But I was wondering if there is a better way. For instance, is there a way I can loop through the group of C# Compiler actions and have a variable (or something similar) set the framework version to 1.1 first time through and 2.0 the second time through?
I’m looking to avoid having to duplicate each C# compiler action for each framework version.
Thanks,
-KIRBY
Hi
You should be able to do something like this in the BeforeAction script event :
Action.SDKVersion = FBVariables.MyVariable
Then put the actions in an actionlist so you can call them multiple times.
HTH
Sweet! Worked like a charm.
And I learned a whole new aspect of FB…scripting which I have not tried before.
Thanks,
-KIRBY