We have a Windows app we inherited that has the following logic:
It's meant to be run from the console, with command line args. If no args are entered, then a form opens that allows the user to input the args. Since this app runs as a scheduled job, we'd like to be able to include the args in the job.
No matter what we enter at the command prompt, the form opens. It appears to be ignoring the args.
Is there anything we need to do within C# to signal the compiled version that args are expected?