Visual Studio crashes with an "Visual Studio has encountered a problem and must close…" dialog when Code Issues are enabled. It seems to be particular to database projects and only occurs if the Code Issues option is enabled. Using the Solution Wide Analysis is even worse, sometimes crashing before a solution can be loaded/created. The error log points to a System.NullReferenceException in CR_CodeIssueUI.
I am using VS 2008 Team Suite, SP1, with Team Database GDR installed (RTM only - no CTPs or betas of VS or TDGDR were ever installed on this machine.), & .NET Framework 3.5 SP1.
I saw similar issues, but they were marked as "Fixed" as of version 3.2.2.0.
Steps to Reproduce:
- Ensure that the Code Issues option is enabled.
- Create or load database project, either from scratch or by importing an existing database schema, or create/load a Schema Comparison or Data Comparison.
- Perform almost any action - Find in Files, hand edit the generated SQL, etc.
Actual Results:
Visual Studio crashes to the desktop with an "Visual Studio has encountered a problem and must close" dialog.
Expected Results:
No crash!
Hi Chris,
Thank you for the report.
Unfortunately we don't currently have this IDE installed, and so, we need some time to prepare a test environment. We'll post our findings here, as soon as we have any results, or need any extra information. Thank you for your patience.
Thanks,
Vito
I applied the public fix, and the error has not occurred again. Thanks!