Debugging Windows Forms application that accepts command line arguments in Visual Studio

You have setup ClickOnce publishing for this project, which adds a security restriction preventing command line parameters from being processed.

To remove the security restriction:

  • Open Project Properties
  • Go to the Security tab
  • Unchecked the “Enable ClickOnce Security Settings”

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)