This paper attempts to address the above mentioned issues by providing an approach to build all the projects/solutions locally with a single click, here by referred to as QuickBuild. If the application contains a large number of projects, the building them locally is a time consuming process, and the same needs to be followed by the whole team resulting in cumulative loss of time. This raises concern like, whose fix broke the code, and what it takes to fix the same. If the developer checks in the fix without building locally, then it may result in the server build failure, used for deployment. While building, even if a single project is not built, then there is a risk of not able to complete the whole build, there by resulting is redoing the build process. After getting the latest version, the developer needs to identify the location of the projects/solutions and build them one by one.Below mentioned issues are quite common during the check in process of the code by the developer. Finally during the release process, the build may fail or result in application failure due to non-functioning of the requirement. The same process needs to be followed by all the developers in the team.Īs we can see, the above process involves manual steps which if not done correctly will result in non-compatible and erroneous code. Once the build is successful, he checks in the code for further process of deployment and release. Once the bug is fixed the developer needs to build the whole application, following the steps above, making sure that his fix is not causing any compatibility issues with other modules. Repeat the same process for all the projects/solutions in the application making sure not to miss the order.Īfter getting the application ready to be debugged locally, then the developer can proceed with fixing the bug. Open the project/solution in Visual Studio and build the same.Ĭopy the build output (.dll/.exe) to a common location. Identify the projects/solutions locations. Process of building the application locally would be as follows:ĭeveloper gets the latest source code to the local machine in a work space. When there are large numbers of projects involved in an application, often, setting up the environment for bug fixing/debugging/testing involves building of the application locally. net Framework 3.5, Microsoft Visual Studio 2008 development environment and Team Foundation Server 2005 as configuration and source management tool. We implemented this solution using Microsoft Build tool available with Microsoft. This approach is incorporated all over the team of developers there by saving a significant amount of time all over the project. We are currently using the proposed approach in our project with very successful results reducing the initial set up issues and intermittent builds to a great amount of time. The approach used in this paper, building the whole application locally will be a single click process and the build files will be located in a single folder from where the application runs. If an application having large number of projects/solutions and the bug fixing and delivery is much frequent, then this approach will be the best way to ensure that the fix delivered is accurate and compatible with other modules. The approach presented makes the development/debugging/testing process more efficient, highly accurate and less time consuming. This paper provides the approach used for creating the local build for complex applications having huge number of projects/solutions. This process is usually time consuming and error prone as several manual steps are involved. The process of building all the projects locally is often a manual process, where a developer takes the latest version of code, builds each project/solution in a particular order, making sure not breaking the project references. In complex applications, we often end up having huge number of projects to be built before we proceed with running/debugging/ testing an application locally.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |