views:

38

answers:

2

We have a project in our solution that houses a test application with multiple windows forms. Every time I open up a form in the form editor, Visual Studio goes out to lunch, chewing up an entire processor... until I kill the process.

I tried to port over to a new project, thinking something in one of the forms, or the project file was causing the issue, but the new project exhibited the same behavior. In a new solution, though, the forms behave properly.

We did recently convert the solution from 2005 to 2008, but I couldn't find any similar conversion issues.

Anyone else experience something similar?

+1  A: 

One of the operations which happens during form load is that form controls in your project which appear on the form are instantiated in the Visual Studio process. Given that they are running in the process it's possible for them to do bad things to Visual Studio like cause it to crash or hang.

You could rule this in or out by opening the form and attaching a debugger to visual studio and seeing if any of your controls are in a timely / infinite loop.

JaredPar
Your comment makes sense and is a good explanation of what could be happening, and though I'll still check it out, I don't think it's the issue. I can create a new project inside the solution and the default form that's created does the same exact thing.In a new solution, however, the problem clears up.
Wes P