473,703 Members | 2,491 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1969
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**@discussio ns.microsoft.co mwrote in message
news:B0******** *************** ***********@mic rosoft.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
3401
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 that I won't have surprises when my program runs on different real-world systems. So far I wrote a little script with python using urllib, and on one computer it failed completely because of a problem in getting the proxies (in my opinion this is a...
0
2119
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
3215
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 .dll's, & have the Setup project build using the obfuscated files. I manually copy the obfuscated files back into each project's obj/release folder. Then I build the setup project (while not re-building anything else, of course). That seems to...
1
1697
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 other than English. Do VS.NET 2003 setup projects (and the MSI files they generate) support internationalization? If so, can someone point me to resources for getting this to work? Also, do VS.NET 2005 setup projects support internationalization? Thanks...
2
1431
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 to a C++ file (not header), it causes all depend projects to rebuild. I have not changed any classes or interfaces; I only make a minor change to some code in a cpp file. I would expect all depend files to rebuild if I change a class header...
13
7012
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 "Setup Project" listed as a template. The templates available are: - Windows Application - Class Library
6
4067
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 an issue, what else is available?
1
2317
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, add the project from a location below the binding root of the other source controlled projects in the solution" Visual Studio 2005 I added a setup project to my solution and it was created in a subdirectory at the same level as the root of the...
3
2972
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 is a VB6 application that runs a batch process to insert about 4.5 million records everyday in this SQL 2005 database. I am using ADO
0
9236
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9094
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8988
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8946
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7839
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6581
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5918
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
3108
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2416
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.