all groups > visual studio .net general > july 2007 >
You're in the

visual studio .net general

group:

Help Visual Studio w/SP1 Designer Crashes more and more as solution grows.


Help Visual Studio w/SP1 Designer Crashes more and more as solution grows. mswlogo
7/24/2007 10:21:21 AM
visual studio .net general: We are using .Net 2.0 Winforms, 3rd party assemblies etc.

As our build for multiple applications and assemblies gets more
complex Visual Studio gets harder and harder to deal with designer
crashes.

Usually clearing out the assembly cache. NLB, .SUO, full rebuild and
loading the Form (that has depenent controls a few times to prime it)
works. But now that work around is failing.

This is starting to grind our project to a halt.

Are there hot fixes for this?

I even saw the problem in a WPF Tutorial microsoft did.

Anyone know what the root cause is and how to organize projects to
avoid it?

The project that is failing on me now is not that complicated. But the
whole solution it's in is fairly complex.
Re: Help Visual Studio w/SP1 Designer Crashes more and more as solution grows. Gerry Hickman
7/24/2007 7:25:15 PM
Hi mswlogo,

[quoted text, click to view]

What is a "designer crash" exactly?

--
Re: Help Visual Studio w/SP1 Designer Crashes more and more as solution grows. mswlogo
7/26/2007 12:23:37 PM
[quoted text, click to view]

You Click on a WinForm and Visual Studio goes into "Designer" or
"Design" mode.
It uses a lot of reflection and background compiling to get the
Designer to work as intelligently as it does.
But it's extremely complex at what it does and starts to fail as
dependencies get more complex.

As soon as you click on it (a Form Class), Visual Studio Crashes
(restarts). Sometimes it catches the exception and you can diagnose
code that's giving it problems. Sometimes you can't.

Lot's of rebuilds, cleaning out assembly cache etc. sometimes will get
you going for a while. But it gets progressively harder and harder to
get the designer up without crashing.
AddThis Social Bookmark Button