If you are learning SSIS you’ve been instructed to drag a script task to the control flow and then to be sure that “Microsoft Visual Basic 2010” is selected. And, of course, you forget, which sets the script task to C#, effectively ruining it if you try to change it Visual Basic. Ruining might be too strong but it’ll likely error if you try to use it.
What they never tell you is that you can set the script to default to Visual Basic 2010, rather that C#, so you never have this problem again.
Here’s what you do.
- In SSDT, Click Tools / Options.
- Open “Business Intelligence Designers”.
- Open “Integration Services Designs”.
- Change the “Script Language” to “Microsoft Visual Basic 2010”.
- Click OK to save.