I think you need to uninstall VS and then reinstall it again, something is definiely wrong to get an exception in the Form Designer generated code.