Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Windows Forms / Design Time / May 2005

Tip: Looking for answers? Try searching our database.

Extremly slow design time peformance (ARGH!)

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
TEK - 27 May 2005 09:51 GMT
This is killing both me and the project.

We're working on a farly large project.

The code is divided in two parts.
One solution that holds all business layer projects (9 projects, some small
and some large)
One solution that holds the UI projects (6 project, 3 exe, 1 small control
library, 1 resource lib, 1 reporting lib)
Almost all the UI projects depends on one or more of the project in the
business layer solution. Thy are referenced by adding references to the
dlls.
(this is done to keep the solution as a somewhat managable size. The change
ratio in the UI projects is also mutch larger than in the business projects)

Compile time for both projects is no problem.

However, we have huge design time issues with our main client appliction.
Whenever you try to design a form, it takes forewer to load it.
Some test result:
Opening a user control (having 12 controls) with a newly opened solution
after a recompile:
20 sec
Second time opening, fast (a couple of sec)
Reopening after changing some little thing and then compile:
20 sec
Open a different control, and then reactivate the already open control.
20 sec
As we often do some quite small changes and the recompile, this is starting
to cost us huge amount of time and frustration.

Almost all our forms and user controls is inherited, if that might matter.

Does other share this experience?
Anyone has a clue about where to start to fix this issue?

Regards, TEK
MajorTom - 27 May 2005 13:34 GMT
Hello TEK

I have similar problems with a large project to.

 1.. compile time with no problems
 2.. time to load some forms at design time, KILLING ME
 3.. it occurs the first time to open the form after open the solution
 4.. second time fast (if you not make changes)
 5.. Reopening after some minors change, again a lot of time.
If I go to code view and change some code, when I switch back to designer
view mode, it takes a lot time to.

At some point they not open at all and the visual studio gets erratically
with a lot of errors and totally irresponsive.

He re are my investigations at this point

(Look for the subject:Win32Execption: The operation completed successfully,
dated 5/20/2005)

I isolated the problem in my case to be too many dataset at designer time,
but with only one I get son unacceptable time to load he form at design
time. I really want to know the real solution for this unacceptable
behavior.

MajorTom

(sorry my English)

> This is killing both me and the project.
>
[quoted text clipped - 34 lines]
>
> Regards, TEK

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.