MBulli / SmartCommandlineArgs

A Visual Studio Extension which aims to provide a better UI to manage your command line arguments
GNU General Public License v2.0
98 stars 35 forks source link

Crash with certain invalid path args. #148

Closed mitchcapper closed 1 year ago

mitchcapper commented 1 year ago

Bare paths/args that are invalid (aka will cause File/Path validation commands to throw exceptions) cause hard crashes. Will submit a PR to fix.

Irame commented 1 year ago

I noticed the same issue and think this commit ba064c2442fbe535b7c06b8f221f2b1b6d6d4e74 should fix it. I should probably catch all exceptions though, to prevent the IDE from crashing.

mitchcapper commented 1 year ago

Yeah probably can't hurt to catch them all but you likely have them handled. I don't think it crashes the IDE I think it only crashes the plugi (which then shows as having errors) but I could be wrong.