VS2010 does not show unhandled exception message in a WinForms Application on a 64-bit version of Windows

前端 未结 5 2154
忘了有多久
忘了有多久 2020-11-21 05:43

When I create a new project, I get a strange behavior for unhandled exceptions. This is how I can reproduce the problem:

1) create a new Windows Forms Application (C

5条回答
  •  情话喂你
    2020-11-21 06:07

    As Hans mentions, compile the application and run the exe without a debugger attached.

    For me the problem was changing a Class property name that a BindingSource control was bound to. Running without the IDE I was able to see the error:

    Cannot bind to the property or column SendWithoutProofReading on the DataSource. Parameter name: dataMember

    Fixing the BindingSource control to bind to the updated property name resolved the problem: enter image description here

提交回复
热议问题