How to Speed up your development time

Gopesh9
Posted by in ASP.NET category on for Beginner level | Points: 250 | Views : 3947 red flag

In this article we will learn that how you can speed up your development time if you have many projects in your solution. It is very simple.

Introduction

Suppose we have many projects in our solution and we want to build only one project at a time so that our development time will be minimised. You all will think that it can be done simply by making one of your project as the start project. But my friends you cannot do it by that. This article is based on to show "How to speed up build time".

Procedure

Suppose you have two Projects in our Solution Explorer.

First we will configure Visual Studio to set one of the two project as "Start Project" as the Current Selection in the "Solution Explorer" window using the properties of one of your projects.

Now if you will build it then both the project will be builded like....

Here in the above picture you can see that both of your project is going to build. Now you can imagine the time it will take if you have hundreds of project in your one solution.

Thankfully there is a way.........

In your Visual Studio just click on "Tools" then "Options". In that click on "Projects and Solutions" and then click on "Build and Run".Like the picture given below....

You just have to check the checkBox "Only build startup projects and dependencies on Run." Now if you will return to your application and then start the startup project you will get like this....

Hope this helps....

Conclusion

When working with a solution that contains numerous projects, I find myself often wanting to only build and run the currently selected project. Other projects in the solution might have build errors that I don’t want to resolve at the current time. By default though, trying to do a CTRL+F5 on the currently selected project will cause Visual Studio (VS) to build all of the projects in a solution.There is a way you can build only one project at a time.

Page copy protected against web site content infringement by Copyscape

About the Author

Gopesh9
Full Name: G. S.
Member Level:
Member Status: Member
Member Since: 8/3/2012 2:27:02 AM
Country: India
G. S. .Net Developer
http://www.dotnetfunda.com
A Dot Net Learner. Currently working in Software Company.

Login to vote for this post.

Comments or Responses

Posted by: Srilu.Nayini577 on: 8/16/2012 | Points: 25
Nice article.It helps most of us.

Thank you,
Posted by: Akiii on: 8/16/2012 | Points: 25
Good trick...

Thanks and Regards
Akiii
Posted by: Maheshvishnu on: 9/5/2012 | Points: 25
Very helpful Post

Login to post response

Comment using Facebook(Author doesn't get notification)