Thanks for trying this out and for providing feedback. I've received the same feedback from several others, so I'll take a moment to explain.
Visual Studio breaks into the debugger when certain exceptions are thrown (this is what is meant by a
exception), even if that exception is later handled. When you first run the app, it tries to read from user configuration files. Because those files do not yet exist, an exception is thrown. The app catches and handles this exception,
so this behavior is expected.
To work around the issue, you can:
- Press Continue to pass through all of the exception messages.
- Uncheck the box that says 'Break when this exception type is thrown'.
- Run the app in Release mode.
I agree it's a bit of a pain, but just want to reassure you that it's the expected behavior.
Hope you find the rest of the sample to be useful!