473,657 Members | 2,380 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Increased build time converting from VS 2003 to 2005

Hello,

I have a large project exclusively made up of interfaces (several
hundred) that define the business objects used in our system. Heavy
inheritance and aggregation are used in the project. In Visual Studio
2003 the project takes ~30 seconds to build. In Visual Studio 2005 the
project takes ~24 minutes. The project references one other assembly.
I've tried to reference the dependency both as a dll and as a project..

Has anyone else had a similar experience?

Thanks,
Dan

Mar 10 '06 #1
1 1406
My migration from 2003 to 2005 had the same issues. What I did to resolve
my issues:

1. Execute "Clean Solution" on all my solutions.
2. Removed all references to my DLLs
3. Added the references I removed in step 2 above as "Projects" not DLL
references
4. ran a Clean solution again
5. verified all my build dependancy and build order - in some cases I had
circular build dependancy, not good - so I had to partition out to new
projects/namespace and adjust code references accordingly - also some
projects did not have the build dependancy set correctly
6. Build all my solutions

I have multiple core projects/dll's I use in many solutions so I did the
same process for each solution. It was time consuming (took about a 1/2
day) but now everything builds quickly, and works correctly. Even my web
applications compile quickly now. I have inheritance usage also, but I
don't think that is relevant to the cause of the super slow compiles. I
also have web references, but again, that doesn't seem to be involved
either.

You may not need all these steps and your mileage will vary. Unfortunately
the steps above are more a blanket solution rather than knowing exactly what
went wrong with the migration from 2003 to 2005 -- but it could take me
weeks to discover the real issue, vs. 1/2 day to force a blanket solution.

Best of luck and your not alone, I know several other developers that have
run into exactly the same problem.
"Dan Munk" <da*****@gmail. com> wrote in message
news:11******** **************@ u72g2000cwu.goo glegroups.com.. .
Hello,

I have a large project exclusively made up of interfaces (several
hundred) that define the business objects used in our system. Heavy
inheritance and aggregation are used in the project. In Visual Studio
2003 the project takes ~30 seconds to build. In Visual Studio 2005 the
project takes ~24 minutes. The project references one other assembly.
I've tried to reference the dependency both as a dll and as a project..

Has anyone else had a similar experience?

Thanks,
Dan

Mar 10 '06 #2

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

Similar topics

4
1162
by: David Lozzi | last post by:
I am developing ASP.NET with VB.NET using VisualStudio.Net, and every little line I change, I have to build the application. Why is that? Is it by design? When I first started with the development, I never had to Build it, now it is all of the time!! Thanks! -- David Lozzi Web Applications/Network Specialist Delphi Technology Solutions, Inc. dlozzi(remove-this)@delphi-ts.com
2
19099
by: DWalker | last post by:
In Visual Studio (Visual Basic) .NET 2002, I noticed that this: Dim Elapsed as DateTime = Now - Now gives a "compile time" error (error in the IDE), saying that the '-' operator is not defined for the Date datatype. On the other hand, Dim Elapsed as DateTime = Now + Now does not give a compile time error but it thinks you're trying to
0
1155
by: Andrew Ducker | last post by:
VS 2005 uses Partial Classes to keep the designer-generated code separate from the user-created code. Obviously VS 2003 doesn't. However, when converting from 2003 to 2005, it doesn't split the code out into partial classes. Is there any way to do so automatically?
0
1706
by: Rich | last post by:
(1) Is there a better place to pose the question below? (2) I am starting to convert my enterprise solution from VS 2003 (.NET v1.1.4322) to VS 2005 Professional (.NET v2.0.50727). The entire solution uses the following technologies - Windows Server 2003 Windows Mobile 2003 Windows XP Professional SP2 Windows 2000 Professional SP4 SQL Server 2000
6
1802
by: Dennis D. | last post by:
Having problems converting Murach's Beginning Visual Basic.net (Prince) and Microsoft Press' Programming Visual Basic.net (Balena) examples for use in VB.net 2005 Express. The VS conversion wizard has not been able to convert any of them. These are just two example sources of many. What should I be doing to convert these samples, or should I reinstall VB.net 2003? Dennis D., http://www.dennisys.com/
1
4255
by: | last post by:
I'm having a problem finding the cause for this problem. I have a solution in Visual Studio 2005 that contains two projects -- a Web Site and a Class Library. The web site references the class library. After the project became larger, the build process would sometimes fail with no errors. The "quick fix" for this was to rebuild the whole solution and things seemed ok. When this didn't solve the problem any longer, I went to the property...
7
2494
by: Coleen | last post by:
Does anyone have any good detailed information on the conversion process? We are in the process of converting 2 projects from 2003 to 2005 and have some conversion errors that I can not find answers to. First, we have a lot of UserControls. I am getting the error "Type uc_mc_btn_footer is not defined." where uc_mc_btn_footer is the name of the UserControl. Also, on almost all of our UserControls the conversion has remmed out all my code...
0
920
by: pmcalenney | last post by:
I just upgraded some projects from VS2003 to VS2005. All is great except a feature that they seemed to have removed in 2005. Let me explain... I have several projects in my solution, say 15. Due to the large number of projects and some of them are UI heavy, the total solution build time can be long. So i only build the projects that i am currently working on. So if ProjectA has a reference to ProjectB, and I make a change to the code in...
4
5568
by: =?Utf-8?B?S2V2aW5NdXJwaHlSSkxH?= | last post by:
I'm trying to migrate a solution from .NET 1.1 to 2.0 (Visual Studio 2003 to VS 2005), and I'm getting a ton of "warning C4945" messages. I am not using MSBuild, I'm just doing a build from within VS 2005. Based on suggestions from other forums, I tried setting "Copy Local" to false for all references in all projects, but that didn't help. Any idea what's causing these warnings? They did not occur in VS 2003.
0
8394
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8306
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8825
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
8732
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...
0
8605
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
7327
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...
0
4152
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
1955
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1615
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.