I have a wierd problem with the 1.1 framework.

During some early development I was getting an invalid cast exception
that was displaying the JIT debugger dialog, indicting how I could
enable the JIT debugger. This is on a system with the full Visual Studio
installed, by the way.

I created a file named MyApp.exe.config and placed a copy on the
Bin\Debug directory, as instructed the file contained the following lines:

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

When I ran my program in debug mode, the problem was unchanged (the same
dialog appeared) and when I checked, the config file had been deleted.

What is going on here?

-Ken