I have a size_changed event in my Form that did cause a MessageBox with the below message.

It says that can enable "just-in-time (JIT) debugging" but are not sure how to do this.
I cant find: machine.config...

MessageBox Error:
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
<system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

From the error description:
Your application is missing a dependency assembly. You may find the name of missing assembly from the exception trace or the log.

>How to enable "just-in-time (JIT) debugging"?
From the MSDN :

You can enable Just-In-Time debugging to launch the Visual Studio debugger automatically when a program, running outside Visual Studio, encounters a fatal error.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.