Problem: Opening a generated form causes a stack trace error.
Solution: Build a project before opening the form.