471,316 Members | 2,017 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

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

VS 2005 Compiler Performance (Web Site Project)

Have a web site project with only a few pages. The site is in a solution that
has about 20 projects that are business objects that the site is dependent
on. When I do a build the compiler says "Build succeeded" in about 5 seconds
but then the screen is frozen for about 40 or more seconds after that. The
solution explorer and other IDE parts go blank and redraw during that time.
What is happening during the 40 seconds after the build and how can I make it
faster? Have used VS2003 for years with larger projects and have not had
this kind of problem. This slowness will prevent us from moving our main app
to VS 2005.
Jul 18 '07 #1
3 1387
Fred Brunet wrote:
Have a web site project with only a few pages. The site is in a
solution that has about 20 projects that are business objects that
the site is dependent on. When I do a build the compiler says "Build
succeeded" in about 5 seconds but then the screen is frozen for about
40 or more seconds after that. The solution explorer and other IDE
parts go blank and redraw during that time. What is happening during
the 40 seconds after the build and how can I make it faster? Have
used VS2003 for years with larger projects and have not had this kind
of problem. This slowness will prevent us from moving our main app to
VS 2005.
Chop up your solution into smaller solutions and reference the
assemblies in binary form. 10 to 1 you aren't working on all 20
projects at a time.

So your webproject solution should just contain the webproject and
perhaps the few projects it directly works with.

Also use a web application project and not the original website
project. Both are pretty sucky, but the web application project is more
efficient. web application project was a project form introduced as an
add-on to vs.net 2005 and installed with vs.net 2005 sp1 (which you
should install anyway).

FB

--
------------------------------------------------------------------------
Lead developer of LLBLGen Pro, the productive O/R mapper for .NET
LLBLGen Pro website: http://www.llblgen.com
My .NET blog: http://weblogs.asp.net/fbouma
Microsoft MVP (C#)
------------------------------------------------------------------------
Jul 18 '07 #2


"Frans Bouma [C# MVP]" wrote:
Fred Brunet wrote:
Have a web site project with only a few pages. The site is in a
solution that has about 20 projects that are business objects that
the site is dependent on. When I do a build the compiler says "Build
succeeded" in about 5 seconds but then the screen is frozen for about
40 or more seconds after that. The solution explorer and other IDE
parts go blank and redraw during that time. What is happening during
the 40 seconds after the build and how can I make it faster? Have
used VS2003 for years with larger projects and have not had this kind
of problem. This slowness will prevent us from moving our main app to
VS 2005.

Chop up your solution into smaller solutions and reference the
assemblies in binary form. 10 to 1 you aren't working on all 20
projects at a time.

So your webproject solution should just contain the webproject and
perhaps the few projects it directly works with.

Also use a web application project and not the original website
project. Both are pretty sucky, but the web application project is more
efficient. web application project was a project form introduced as an
add-on to vs.net 2005 and installed with vs.net 2005 sp1 (which you
should install anyway).

FB

--
------------------------------------------------------------------------
Lead developer of LLBLGen Pro, the productive O/R mapper for .NET
LLBLGen Pro website: http://www.llblgen.com
My .NET blog: http://weblogs.asp.net/fbouma
Microsoft MVP (C#)
------------------------------------------------------------------------
Jul 18 '07 #3
Thanks for the reply.

I posted a message similar to the following yesterday but everything I typed
was truncated from the message. So apparently there is a bug in the newsgroup
posting:

I tried converting from web site to web application, it didn't seem to help.
This isn't going to work out anyway since I am now using some vendor
templates that don't seem to support web application.

Hopefully I don't have to break up the project. We tried to break it up
before and had a lot of problems with dependencies and file locking. Also I
find it very hard to just resign myself to VS2005 web projects are "sucky"
and worse performing than the original version of VS .NET. If I have to break
up the project then there isn't any value proposition to upgrading to later
versions. There must be some optional new feature that is wasting all my time
after a build.


"Frans Bouma [C# MVP]" wrote:
Fred Brunet wrote:
Have a web site project with only a few pages. The site is in a
solution that has about 20 projects that are business objects that
the site is dependent on. When I do a build the compiler says "Build
succeeded" in about 5 seconds but then the screen is frozen for about
40 or more seconds after that. The solution explorer and other IDE
parts go blank and redraw during that time. What is happening during
the 40 seconds after the build and how can I make it faster? Have
used VS2003 for years with larger projects and have not had this kind
of problem. This slowness will prevent us from moving our main app to
VS 2005.

Chop up your solution into smaller solutions and reference the
assemblies in binary form. 10 to 1 you aren't working on all 20
projects at a time.

So your webproject solution should just contain the webproject and
perhaps the few projects it directly works with.

Also use a web application project and not the original website
project. Both are pretty sucky, but the web application project is more
efficient. web application project was a project form introduced as an
add-on to vs.net 2005 and installed with vs.net 2005 sp1 (which you
should install anyway).

FB

--
------------------------------------------------------------------------
Lead developer of LLBLGen Pro, the productive O/R mapper for .NET
LLBLGen Pro website: http://www.llblgen.com
My .NET blog: http://weblogs.asp.net/fbouma
Microsoft MVP (C#)
------------------------------------------------------------------------
Jul 19 '07 #4

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

22 posts views Thread by edgrsprj | last post: by
16 posts views Thread by Kent | last post: by
2 posts views Thread by TobyRiley | last post: by
8 posts views Thread by jdn | last post: by
54 posts views Thread by m.roello | last post: by
reply views Thread by rmgalante | last post: by
reply views Thread by rosydwin | last post: by

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.