I'm hopeful one of you guys can help me with the following question.
Question: Is it possible to pass command line arguments to a package when running it from within Visual Studio/BIDS?
I want to set the value of a variable via the command line, and found that you can to this in DtExec with the "/set \Package.Variables[...].Value;..." syntax. According to the docs, you should be able to pass the same argument via the 'CmdLineArguments' property in the 'Properties' dialog of an SSIS project in VS
- Right click on your project (make sure you do this on project not package)
- hit properties
- and go down to your debugging section
(CmdLineArguments will Run the package with the specified command-line arguments, but unfortunately, this doesn't seem to work (even though the exact same argument does work when running the package externally with DtExec or with DtExecUI)