Geeks With Blogs
AzamSharp Some day I will know everything. I hope that day never comes.

Yes, now while your .NET 2.0 application is compiling you can go to Wallmart and do some grocery. This is because the application takes darn too much time to compile. I have a solution that consists of three projects and it extremely long time to compile. Is there anyone else who is also going to the grocery store while the application compiles?

powered by IMHO 1.3

Posted on Thursday, March 30, 2006 9:37 PM | Back to top


Comments on this post: Do your grocery while your .NET 2.0 application compiles

# re: Do your grocery while your .NET 2.0 application compiles
Requesting Gravatar...
I completely agree...I've only got three projects and i think the reason it takes so long is because you no longer have a project file to designate included files to compile and this process is done every time. I guess we are just used to quick compiling and I get in the habit of doing a build as many times as I do a save to make sure things work!
I wonder if there are others feeling this!
Left by Jeremy Thake on Mar 30, 2006 8:58 PM

# re: Do your grocery while your .NET 2.0 application compiles
Requesting Gravatar...
Hi,

I hope there is some way to speed things up.

Left by azamsharp on Mar 30, 2006 9:00 PM

# re: Do your grocery while your .NET 2.0 application compiles
Requesting Gravatar...
The VS 2005 Web Site Project Model does a deep validation of the html and server controls -- which is why compilation can be slower (since it will flag any mis-typed server control of config error). On the positive side, it does mean that you get more accurate compile results.

To speed up complilation with web-site projects you can do two things when you pull up the web site's project properties (right click on the project node to pull up the properties):

1) Uncheck the "build as part of solution" checkbox. This will allow you to optionally disable that project from doing validation when you build the solution. You can still right click and build the project manually though.

2) Change the F5 start option from build web-site to build-page. That will cause you to just build the page you are working on, and not everything.

Alternatively, you can also use the new VS 2005 Web Application Project option -- which compiles like VS 2003 did (and which is even faster than VS 2003). This will be shipping early next week.
Left by scottgu on Mar 30, 2006 9:34 PM

# re: Do your grocery while your .NET 2.0 application compiles
Requesting Gravatar...
Thanks Scott!

I changed it and it did speed up things just a little bit.

Thanks for the help!
Left by AzamSharp on Mar 31, 2006 8:06 AM

# re: Do your grocery while your .NET 2.0 application compiles
Requesting Gravatar...
Is your application a VB.Net application? If so, there is a Microsoft fix available.

http://support.microsoft.com/kb/KB917452
Left by Jessica on Apr 16, 2007 7:50 PM

Your comment:
 (will show your gravatar)


Copyright © Mohammad Azam | Powered by: GeeksWithBlogs.net