Welcome!

Microsoft Cloud Authors: Pat Romanski, Srinivasan Sundara Rajan, Glenn Rossman, Janakiram MSV, Steven Mandel

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
As ridesharing competitors and enhanced services increase, notable changes are occurring in the transportation model. Despite the cost-effective means and flexibility of ridesharing, both drivers and users will need to be aware of the connected environment and how it will impact the ridesharing experience. In his session at @ThingsExpo, Timothy Evavold, Executive Director Automotive at Covisint, will discuss key challenges and solutions to powering a ride sharing and/or multimodal model in the a...
Is your aging software platform suffering from technical debt while the market changes and demands new solutions at a faster clip? It’s a bold move, but you might consider walking away from your core platform and starting fresh. ReadyTalk did exactly that. In his General Session at 19th Cloud Expo, Michael Chambliss, Head of Engineering at ReadyTalk, will discuss why and how ReadyTalk diverted from healthy revenue and over a decade of audio conferencing product development to start an innovati...
WebRTC adoption has generated a wave of creative uses of communications and collaboration through websites, sales apps, customer care and business applications. As WebRTC has become more mainstream it has evolved to use cases beyond the original peer-to-peer case, which has led to a repeating requirement for interoperability with existing infrastructures. In his session at @ThingsExpo, Graham Holt, Executive Vice President of Daitan Group, will cover implementation examples that have enabled ea...
SYS-CON Events announced today that Numerex Corp, a leading provider of managed enterprise solutions enabling the Internet of Things (IoT), will exhibit at the 19th International Cloud Expo | @ThingsExpo, which will take place on November 1–3, 2016, at the Santa Clara Convention Center in Santa Clara, CA. Numerex Corp. (NASDAQ:NMRX) is a leading provider of managed enterprise solutions enabling the Internet of Things (IoT). The Company's solutions produce new revenue streams or create operating...
Fifty billion connected devices and still no winning protocols standards. HTTP, WebSockets, MQTT, and CoAP seem to be leading in the IoT protocol race at the moment but many more protocols are getting introduced on a regular basis. Each protocol has its pros and cons depending on the nature of the communications. Does there really need to be only one protocol to rule them all? Of course not. In his session at @ThingsExpo, Chris Matthieu, co-founder and CTO of Octoblu, walk you through how Oct...
"My role is working with customers, helping them go through this digital transformation. I spend a lot of time talking to banks, big industries, manufacturers working through how they are integrating and transforming their IT platforms and moving them forward," explained William Morrish, General Manager Product Sales at Interoute, in this SYS-CON.tv interview at 18th Cloud Expo, held June 7-9, 2016, at the Javits Center in New York City, NY.
According to Forrester Research, every business will become either a digital predator or digital prey by 2020. To avoid demise, organizations must rapidly create new sources of value in their end-to-end customer experiences. True digital predators also must break down information and process silos and extend digital transformation initiatives to empower employees with the digital resources needed to win, serve, and retain customers.
If you’re responsible for an application that depends on the data or functionality of various IoT endpoints – either sensors or devices – your brand reputation depends on the security, reliability, and compliance of its many integrated parts. If your application fails to deliver the expected business results, your customers and partners won't care if that failure stems from the code you developed or from a component that you integrated. What can you do to ensure that the endpoints work as expect...
In this strange new world where more and more power is drawn from business technology, companies are effectively straddling two paths on the road to innovation and transformation into digital enterprises. The first path is the heritage trail – with “legacy” technology forming the background. Here, extant technologies are transformed by core IT teams to provide more API-driven approaches. Legacy systems can restrict companies that are transitioning into digital enterprises. To truly become a lea...
IoT is fundamentally transforming the auto industry, turning the vehicle into a hub for connected services, including safety, infotainment and usage-based insurance. Auto manufacturers – and businesses across all verticals – have built an entire ecosystem around the Connected Car, creating new customer touch points and revenue streams. In his session at @ThingsExpo, Macario Namie, Head of IoT Strategy at Cisco Jasper, will share real-world examples of how IoT transforms the car from a static p...
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....
From wearable activity trackers to fantasy e-sports, data and technology are transforming the way athletes train for the game and fans engage with their teams. In his session at @ThingsExpo, will present key data findings from leading sports organizations San Francisco 49ers, Orlando Magic NBA team. By utilizing data analytics these sports orgs have recognized new revenue streams, doubled its fan base and streamlined costs at its stadiums. John Paul is the CEO and Founder of VenueNext. Prior ...
One of biggest questions about Big Data is “How do we harness all that information for business use quickly and effectively?” Geographic Information Systems (GIS) or spatial technology is about more than making maps, but adding critical context and meaning to data of all types, coming from all different channels – even sensors. In his session at @ThingsExpo, William (Bill) Meehan, director of utility solutions for Esri, will take a closer look at the current state of spatial technology and ar...
The Internet of Things can drive efficiency for airlines and airports. In their session at @ThingsExpo, Shyam Varan Nath, Principal Architect with GE, and Sudip Majumder, senior director of development at Oracle, will discuss the technical details of the connected airline baggage and related social media solutions. These IoT applications will enhance travelers' journey experience and drive efficiency for the airlines and the airports. The session will include a working demo and a technical d...
What happens when the different parts of a vehicle become smarter than the vehicle itself? As we move toward the era of smart everything, hundreds of entities in a vehicle that communicate with each other, the vehicle and external systems create a need for identity orchestration so that all entities work as a conglomerate. Much like an orchestra without a conductor, without the ability to secure, control, and connect the link between a vehicle’s head unit, devices, and systems and to manage the ...
Businesses are struggling to manage the information flow and interactions between all of these new devices and things jumping on their network, and the apps and IT systems they control. The data businesses gather is only helpful if they can do something with it. In his session at @ThingsExpo, Chris Witeck, Principal Technology Strategist at Citrix, will discuss how different the impact of IoT will be for large businesses, expanding how IoT will allow large organizations to make their legacy ap...
The many IoT deployments around the world are busy integrating smart devices and sensors into their enterprise IT infrastructures. Yet all of this technology – and there are an amazing number of choices – is of no use without the software to gather, communicate, and analyze the new data flows. Without software, there is no IT. In this power panel at @ThingsExpo, moderated by Conference Chair Roger Strukhoff, panelists will look at the protocols that communicate data and the emerging data analy...
SYS-CON Events announced today that Commvault, a global leader in enterprise data protection and information management, has been named “Bronze 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. Commvault is a leading provider of data protection and information management solutions, helping companies worldwide activate their data to drive more value and business insight and to transform moder...
What are the new priorities for the connected business? First: businesses need to think differently about the types of connections they will need to make – these span well beyond the traditional app to app into more modern forms of integration including SaaS integrations, mobile integrations, APIs, device integration and Big Data integration. It’s important these are unified together vs. doing them all piecemeal. Second, these types of connections need to be simple to design, adapt and configure...
Digital innovation is the next big wave of business transformation based on digital technologies of which IoT and Big Data are key components, For example: Business boundary innovation is a challenge to excavate third-party business value using IoT and BigData, like Nest Business structure innovation may propose re-building business structure from scratch, as Uber does in the taxicab industry The social model innovation is also a big challenge to the new social architecture with the design fr...