I am having a problem with my program which I develop in Visual Studio 2015.
It is a media player and up until now I had no such problem.
When I debug the program using VS's debugger, everything's fine and there's no error or crash.
However, when I deploy the program and install it on various computers, there's a specific error popping up each time I try to open a specific form.
See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box.
Then there is some assembly info and then:
************** JIT Debugging ************** 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.
Let me note here that I did not experience such problem before with Visual Studio 2013,2012 and 2010.
Also, let me note that I've both tried deploying the program with JIT enabled and disabled, with the result being the same.