473,385 Members | 1,606 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,385 software developers and data experts.

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 1386
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.googlegr oups.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
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...
2
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...
0
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...
0
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...
6
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...
1
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...
7
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...
0
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. ...
4
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...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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:
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...
0
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,...
0
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...

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.