Visual Studio 2008 Designers Tame Large VB Projects

We have 3 developers using the same version (VS 2008 SP1) and we all use large VB projects (window shapes). From time to time, the IDE will run into all sorts of problems like blocking, crashing and even being unable to drag the form object, or it will just disappear instantly.

In the largest of our projects (actually 5 projects in one solution file), a couple of people here can only rebuild the project for testing 2-3 times before they have to close the studio and reopen it.

Has anyone else experienced this? Does this happen with large C # projects?

0


source to share


5 answers


Yes, I experience it all the time! It got better in 2008 if you can believe it.

I usually find that the reason is due to an exception from my own code. The user interface can create a custom control that won't perform well in design mode, causing a problem.



Sometimes I will output a second run of VS2008 and attach a debugger to the first run of VS. Then I can debug my own code as it runs in the constructor of the first instance. Exception often occurs and I can fix my code to play better in the designer.

In other circumstances, I have no idea why this is happening.

+2


source


I have heard of people having this problem, however I never had a problem at all.



I've heard that some people are tracing problems back to using ReSharper as the root cause.

+1


source


The most common problem I have encountered is calling a constructor when I create a form where only constructors are required.

To facilitate this, when I only need a form to instantiate with parameters, I create a private parameterless constructor that the constructor can use, but which the user of the form won't see.

+1


source


I have personally experienced all sorts of design wickedness with VS2008 sp1. I removed the service pack to bring stability back to my dev environment. This is a bad answer, but try it.

0


source


The only thing I ran into was a design glitch and an error that previously forced me to recreate the form, copy and paste the code until I learned how to fix it.

My problem was coming from the fact that I used ctrl + f a lot. If you are using large files, this may be what is happening.

0


source







All Articles