It seems I've inadvertently converted a VB.NET 2012 project to the type "Publish Online". I was exploring the IDE and started the Publish Wizard, but then cancelled it without doing anything. The VB project does have command line arguments defined in the properties, and the error seems related to that.
How do I revert the project back to "normal mode" from "publish online"...?
The error occurs whenever debugging is started (F5), as follows:
The current project settings specify that the project will be debugged with specific security permissions. In this mode, command line arguments will not be passed to the executable. Do you want to continue debugging anyway? Yes/No.
Go to the Project properties → Security, and then uncheck "Enable ClickOnce Security Settings". Now it debugs and runs without the error.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With