473,387 Members | 1,669 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Setup projects cause very slow perfomance in large .NET 2005 solut

We have a very large code base and use the partitioned solution model for
development and deployment. The problem is that in .NET 2005 the setup
projects cause severe performance problems when working with the master build
solution in the .NET IDE. Currently we have about 300 projects with another
150+ going to production in the coming months. The build server we use is a
Windows 2003 server with quad Intel Xeon processors and 2GB memory.

When I load the master solution on this machine, it takes about 20 minutes
to come up when the setup projects are included in the solution. The setup
projects are quite large (some have 40+ primary outputs). Simple changes
(such as adding new projects to the solution) can take several minutes
causing the CPU's to spike and the IDE to stop responding. When I manually
remove the setup projects from the solution, it takes about 1.5 minutes to
load and the performance improves dramatically when making changes.

It appears to me that the problem is that the setup projects are caching
events when changes are made in the solution and then subsequently refresh
their detected dependency lists. The current performance is so bad that I am
considering using multiple build solutions. Splitting into muliple solutions
is very undesirable as it creates unnecessary complexity for the development
team.

I have searched MSDN and Google extensively looking for hacks, workarounds,
fixes to resolve this problem. We are running VS.NET 2005 (with SP1). I
have also implemented the performance fix outlined in the following Microsoft
KB article: http://support.microsoft.com/kb/917452

Any help you can offer would be greatly appreciated!

Regards,

Doug Long
Technical Lead
BBS

Jun 4 '07 #1
1 1949
Doug,

If I may make a couple (IMHO) suggestions:

1. Componetize as much as possible. If you have common data code, controls,
or whatnot, make them their own project in their own solution. Then
reference the compiled libraries in your main projects. In a sense, some of
the core libraries will be 'precompiled', saving the overhead during the
master build.

2. You can build in Visual Studio from the command line, for example:
devenv "solution path" /build release
to view all the command line options:
devenv /?

3. And yes, in my experience, setup projects are very slow.

Hope this helps,
Steve

"Doug" <Do**@discussions.microsoft.comwrote in message
news:B0**********************************@microsof t.com...
We have a very large code base and use the partitioned solution model for
development and deployment. The problem is that in .NET 2005 the setup
projects cause severe performance problems when working with the master
build
solution in the .NET IDE. Currently we have about 300 projects with
another
150+ going to production in the coming months. The build server we use is
a
Windows 2003 server with quad Intel Xeon processors and 2GB memory.

When I load the master solution on this machine, it takes about 20 minutes
to come up when the setup projects are included in the solution. The
setup
projects are quite large (some have 40+ primary outputs). Simple changes
(such as adding new projects to the solution) can take several minutes
causing the CPU's to spike and the IDE to stop responding. When I
manually
remove the setup projects from the solution, it takes about 1.5 minutes to
load and the performance improves dramatically when making changes.

It appears to me that the problem is that the setup projects are caching
events when changes are made in the solution and then subsequently refresh
their detected dependency lists. The current performance is so bad that I
am
considering using multiple build solutions. Splitting into muliple
solutions
is very undesirable as it creates unnecessary complexity for the
development
team.

I have searched MSDN and Google extensively looking for hacks,
workarounds,
fixes to resolve this problem. We are running VS.NET 2005 (with SP1). I
have also implemented the performance fix outlined in the following
Microsoft
KB article: http://support.microsoft.com/kb/917452

Any help you can offer would be greatly appreciated!

Regards,

Doug Long
Technical Lead
BBS

Jun 6 '07 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

23
by: assaf__ | last post by:
Hello, I am beginning to work on a fairly large project and I'm considering to use python for most of the coding, but I need to make sure first that it is reliable enough. I need to make sure...
0
by: Angela | last post by:
http://support.microsoft.com/default.aspx?scid=KB;EN- US;Q324906& >-----Original Message----- >I'm trying to create a Web SetUp Project for a web >application my team recently developed.
1
by: StevenBarnes | last post by:
I have a solution with 6 or so projects, some dts dll's, a couple images, etc. I have a working setup project that creates a nice installation msi. Cool. Now I want to obfuscate my .exe and my...
1
by: Dave | last post by:
Hi All, I have a VS.NET 2003 solution that uses several setup projects to package various components and applications into MSI files. I need to provide foreign language support for 5-6 languages...
2
by: Pinnguy | last post by:
Hello, I have started to use managed C++ in VS 2003. I have several .NET class libraries written in MC++. I am finding the rebuild tendencies in VS to be very annoying. If I make a minor change...
13
by: johnb41 | last post by:
I'm testing out the Visual Basic 2005 Express Edition, and I like it thus far... but i'm puzzled. I want to add a "Setup Project" to my solution. When i go to Add Project, I don't see the...
6
by: andrewbb | last post by:
I want to deploy a service with a windows app and the setup program must conform to the Vista certification requirements. Can that be done with the standard .net setup project? Assuming cost is...
1
by: Claire | last post by:
"The project that you are attempting to add to source control may cause other source control users to have difficulty opening this solution or getting newer versions of it. To avoid this problem,...
3
by: Tawfiq | last post by:
Hi, We have shifted one of our data processing to a new instance of SQL 2005. For this a new DB was created in SQL2005 and it is not an upgrade of SQL200 DB. The data processing application...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.