Welcome!

Microsoft Cloud Authors: Janakiram MSV, Pat Romanski, Steven Mandel, John Basso, Liz McMillan

Related Topics: Microsoft Cloud

Microsoft Cloud: Article

.NET Development with Visual Build Pro

Work smarter, not harder

I have used Microsoft Visual Studio at various companies over the years, starting with Visual Basic 3 to create simple, stand-alone Windows applications, then later using Visual Basic 5 and 6 for multitiered development. More recently, I've used Visual C++ to create a commercial application, and have recently been doing extensive .NET development using C# for both WinForms and ASP.NET development.

In all of these development environments, I've used the Visual Studio IDE as the primary tool for editing source code, testing, debugging, etc. Back with VB3, it was fairly simple to build the application as well with the IDE, because I was only building single executables (without even the need for an installer). As I progressed into more complex projects using components, then different layers of components, source code control, installers, and databases, my build experience became increasingly tedious, error-prone and frustrating.

About that time I discovered Visual Build, and quickly began automating my build process, starting with checking my code in and out of SourceSafe and compiling my Visual Basic project groups. I saw an immediate increase in consistency and repeatability and a significant decrease in my frustrations (and stress) when building, testing, and releasing updates to the applications I was writing.

The Visual C++ gig was part of larger team that required more coding discipline (and a lot of studying to learn C++), working across a relatively slow VPN link, as I was working remotely. Fortunately, this work environment was already using Visual Build Professional to automate many of their processes, which enabled me to join the development team quickly, as I could use existing build scripts and read them to quickly understand how they operated without constantly bothering fellow coders.

Over the years, the Visual Studio IDE has steadily added new features and (for me) maintained its position as my primary development tool. Visual Studio has consistently provided the ability to build and deploy applications; however, there have always been significant reasons why it wasn't an optimal build solution in my real world. These reasons include the use of third-party tools, source code control, the manual nature of builds using a nonautomated process, and the need to extend a build to do things that weren't necessarily build-related.

Details
The Visual Studio .NET IDE provides a good framework for developing .NET applications and managing the relationships between projects and components as part of a .NET solution. Extensive debugging capabilities are provided, along with Intellisense and other coding assistance, which greatly boosts developer productivity. And it does provide a limited means of automating builds via the devenv.com console application. Visual Build Pro hides the complexity of building Visual Studio projects and solutions by providing a graphical front end for configuring the appropriate command-line flags and adding additional functionality, such as easily building a single, multiple, or all configurations, more control over setting or incrementing versions and assembly properties, etc.

Another advantage of utilizing Visual Build Pro for Visual Studio .NET builds is that you are isolated from changes made between the different versions of Visual Studio. When migrating from Visual Studio 2002 to 2003 to 2005, once the projects have been opened in the IDE and converted to the new format, the build process remains unchanged, since VBP's Make VS.NET action detects and handles each version appropriately, and even takes advantage of MSBuild for Visual Studio 2005 projects and solutions (thereby preventing the need to install Visual Studio itself on the build box).

Employing Visual Build Professional for .NET builds also provides the ability to continue building legacy applications or projects (without a rewrite) as you move forward with the latest technology. The builds you have defined for older languages and tools continue to work and can simply be extended for any new applications you develop (regardless of the manufacturer). In my example, I have continued building some legacy VB 6.0 and VC++ 6.0 applications in addition to the latest .NET projects in development. And Visual Build Pro provides built-in support for all of the major source control systems (SourceSafe, Perforce, Vault, Surround SCM, Subversion, etc.), thus making it easy to incorporate these products into the build process as well.

As much as we like to keep things standard and follow conventions, every shop I've worked at had many exceptional situations that required customization to their build process. This is another major reason to maintain the process using the flexible and powerful build framework provided with Visual Build Professional. Some examples I have encountered are the need to deploy ASP Web sites (first shutting down the IIS server, compiling Delphi components, a legacy method of deploying components to central server, updating metadata in a SQL Server database, etc). I have been very impressed with VBP because I rarely find a build problem that can't be solved using common-sense programming techniques.

Building software is challenging and demanding business, and often requires highly skilled expertise and extensive knowledge. As applications and the tools used to create them have evolved, they have become highly complex and specialized. As mentioned earlier, using Visual Build Professional can greatly reduce the amount of perishable information and research used within the build process. The files used by Visual Build Professional are XML files, which typically are checked in to your source control system just like your application source code, thus preserving the history of your build process. When your core developers leave the company, they don't leave you stranded. Instead the necessary information remains with the company, so the build process isn't compromised.

While the .NET development system is extensive and powerful, it is a very complex tool that spans a wide range of technologies and capabilities. Unless you work for a large company, you probably won't get personal support from Microsoft. It is comforting to have access to the knowledgeable Kinook Software support staff and the Visual Build Professional user base through their support forum. Their level of support is outstanding, the depth of the samples and documentation is second to none, and they have repeatedly demonstrated a willingness to provide assistance when I have been stumped by a particular issue.

Conclusion
I have been a long-time user of Visual Build Professional, and I can honestly say that it has paid for itself many times over. It is the primary tool in my build toolbox that allows me to focus on what I enjoy best: developing and producing software. It is a powerful yet flexible application that achieves what it was designed for: automating any Windows-based software build process. If you either haven't automated your build process or are struggling with your current system, you owe it to yourself and your company to give Visual Build Professional a try!

References

More Stories By Kevin Alons

Kevin Alons currently serves as the president of Alons Software, Inc., primarily doing contract Visual C++ development. In the past, he has worked as a network administrator, SQL Server DBA, and has done various types of software development, including corporate VB, Delphi, C/C++, and ASP.NET. Kevin previously served as a fighter pilot in the Air National Guard (where he also functioned as "Computer Officer"). He is happily married with three children, and enjoys recreational flying, racquetball, reading, and playing trumpet at his church.

Comments (0)

Share your thoughts on this story.

Add your comment
You must be signed in to add a comment. Sign-in | Register

In accordance with our Comment Policy, we encourage comments that are on topic, relevant and to-the-point. We will remove comments that include profanity, personal attacks, racial slurs, threats of violence, or other inappropriate material that violates our Terms and Conditions, and will block users who make repeated violations. We ask all readers to expect diversity of opinion and to treat one another with dignity and respect.


@ThingsExpo Stories
Cloud computing is being adopted in one form or another by 94% of enterprises today. Tens of billions of new devices are being connected to The Internet of Things. And Big Data is driving this bus. An exponential increase is expected in the amount of information being processed, managed, analyzed, and acted upon by enterprise IT. This amazing is not part of some distant future - it is happening today. One report shows a 650% increase in enterprise data by 2020. Other estimates are even higher....
Smart Cities are here to stay, but for their promise to be delivered, the data they produce must not be put in new siloes. In his session at @ThingsExpo, Mathias Herberts, Co-founder and CTO of Cityzen Data, will deep dive into best practices that will ensure a successful smart city journey.
Identity is in everything and customers are looking to their providers to ensure the security of their identities, transactions and data. With the increased reliance on cloud-based services, service providers must build security and trust into their offerings, adding value to customers and improving the user experience. Making identity, security and privacy easy for customers provides a unique advantage over the competition.
SYS-CON Events announced today that 910Telecom will exhibit at the 19th International Cloud Expo, which will take place on November 1–3, 2016, at the Santa Clara Convention Center in Santa Clara, CA. Housed in the classic Denver Gas & Electric Building, 910 15th St., 910Telecom is a carrier-neutral telecom hotel located in the heart of Denver. Adjacent to CenturyLink, AT&T, and Denver Main, 910Telecom offers connectivity to all major carriers, Internet service providers, Internet backbones and ...
SYS-CON Events announced today that Pulzze Systems will exhibit at the 19th International Cloud Expo, which will take place on November 1–3, 2016, at the Santa Clara Convention Center in Santa Clara, CA. Pulzze Systems, Inc. provides infrastructure products for the Internet of Things to enable any connected device and system to carry out matched operations without programming. For more information, visit http://www.pulzzesystems.com.
There is growing need for data-driven applications and the need for digital platforms to build these apps. In his session at 19th Cloud Expo, Muddu Sudhakar, VP and GM of Security & IoT at Splunk, will cover different PaaS solutions and Big Data platforms that are available to build applications. In addition, AI and machine learning are creating new requirements that developers need in the building of next-gen apps. The next-generation digital platforms have some of the past platform needs a...
Data is an unusual currency; it is not restricted by the same transactional limitations as money or people. In fact, the more that you leverage your data across multiple business use cases, the more valuable it becomes to the organization. And the same can be said about the organization’s analytics. In his session at 19th Cloud Expo, Bill Schmarzo, CTO for the Big Data Practice at EMC, will introduce a methodology for capturing, enriching and sharing data (and analytics) across the organizati...
Internet of @ThingsExpo, taking place November 1-3, 2016, at the Santa Clara Convention Center in Santa Clara, CA, is co-located with 19th Cloud Expo and will feature technical sessions from a rock star conference faculty and the leading industry players in the world. The Internet of Things (IoT) is the most profound change in personal and enterprise IT since the creation of the Worldwide Web more than 20 years ago. All major researchers estimate there will be tens of billions devices - comp...
SYS-CON Events announced today Telecom Reseller has been named “Media Sponsor” of SYS-CON's 19th International Cloud Expo, which will take place on November 1–3, 2016, at the Santa Clara Convention Center in Santa Clara, CA. Telecom Reseller reports on Unified Communications, UCaaS, BPaaS for enterprise and SMBs. They report extensively on both customer premises based solutions such as IP-PBX as well as cloud based and hosted platforms.
SYS-CON Events announced today that Adobe has been named “Bronze Sponsor” of SYS-CON's 18th Cloud Expo, which will take place on June 7-9, 2016, at the Javits Center in New York, New York. Adobe is changing the world though digital experiences. Adobe helps customers develop and deliver high-impact experiences that differentiate brands, build loyalty, and drive revenue across every screen, including smartphones, computers, tablets and TVs. Adobe content solutions are used daily by millions of co...
Why do your mobile transformations need to happen today? Mobile is the strategy that enterprise transformation centers on to drive customer engagement. In his general session at @ThingsExpo, Roger Woods, Director, Mobile Product & Strategy – Adobe Marketing Cloud, covered key IoT and mobile trends that are forcing mobile transformation, key components of a solid mobile strategy and explored how brands are effectively driving mobile change throughout the enterprise.
Pulzze Systems was happy to participate in such a premier event and thankful to be receiving the winning investment and global network support from G-Startup Worldwide. It is an exciting time for Pulzze to showcase the effectiveness of innovative technologies and enable them to make the world smarter and better. The reputable contest is held to identify promising startups around the globe that are assured to change the world through their innovative products and disruptive technologies. There w...
Data is the fuel that drives the machine learning algorithmic engines and ultimately provides the business value. In his session at Cloud Expo, Ed Featherston, a director and senior enterprise architect at Collaborative Consulting, will discuss the key considerations around quality, volume, timeliness, and pedigree that must be dealt with in order to properly fuel that engine.
19th Cloud Expo, taking place November 1-3, 2016, at the Santa Clara Convention Center in Santa Clara, CA, will feature technical sessions from a rock star conference faculty and the leading industry players in the world. Cloud computing is now being embraced by a majority of enterprises of all sizes. Yesterday's debate about public vs. private has transformed into the reality of hybrid cloud: a recent survey shows that 74% of enterprises have a hybrid cloud strategy. Meanwhile, 94% of enterpri...
Almost two-thirds of companies either have or soon will have IoT as the backbone of their business in 2016. However, IoT is far more complex than most firms expected. How can you not get trapped in the pitfalls? In his session at @ThingsExpo, Tony Shan, a renowned visionary and thought leader, will introduce a holistic method of IoTification, which is the process of IoTifying the existing technology and business models to adopt and leverage IoT. He will drill down to the components in this fra...
With so much going on in this space you could be forgiven for thinking you were always working with yesterday’s technologies. So much change, so quickly. What do you do if you have to build a solution from the ground up that is expected to live in the field for at least 5-10 years? This is the challenge we faced when we looked to refresh our existing 10-year-old custom hardware stack to measure the fullness of trash cans and compactors.
The emerging Internet of Everything creates tremendous new opportunities for customer engagement and business model innovation. However, enterprises must overcome a number of critical challenges to bring these new solutions to market. In his session at @ThingsExpo, Michael Martin, CTO/CIO at nfrastructure, outlined these key challenges and recommended approaches for overcoming them to achieve speed and agility in the design, development and implementation of Internet of Everything solutions wi...
Today we can collect lots and lots of performance data. We build beautiful dashboards and even have fancy query languages to access and transform the data. Still performance data is a secret language only a couple of people understand. The more business becomes digital the more stakeholders are interested in this data including how it relates to business. Some of these people have never used a monitoring tool before. They have a question on their mind like “How is my application doing” but no id...
DevOps at Cloud Expo, taking place Nov 1-3, 2016, at the Santa Clara Convention Center in Santa Clara, CA, is co-located with 19th Cloud Expo and will feature technical sessions from a rock star conference faculty and the leading industry players in the world. The widespread success of cloud computing is driving the DevOps revolution in enterprise IT. Now as never before, development teams must communicate and collaborate in a dynamic, 24/7/365 environment. There is no time to wait for long dev...
The 19th International Cloud Expo has announced that its Call for Papers is open. Cloud Expo, to be held November 1-3, 2016, at the Santa Clara Convention Center in Santa Clara, CA, brings together Cloud Computing, Big Data, Internet of Things, DevOps, Digital Transformation, Microservices and WebRTC to one location. With cloud computing driving a higher percentage of enterprise IT budgets every year, it becomes increasingly important to plant your flag in this fast-expanding business opportuni...