Chapter 51. The Automation Model
Visual Studio 2008 is an integrated development environment (IDE) that lets you build several types of desktop, web, and embedded device applications and components. Despite being one of the premiere IDEs, there is something obvious that you will notice during your use of the IDE — the repeating of some tasks.
The development process itself contains many repetitive tasks and common pieces of code. In all development technologies and IDEs, we seek solutions to save time, spare developers from doing these repetitive tasks, and let them use tools to automatically insert codes and automate their development.
Visual Studio 2008, one of the most common and well-known IDEs, isn't an exception, and there are many features to provide this automation. Many aspects of the Visual Studio extensibility options are created to automate such repetitive tasks, including add-ins, macros, code snippets, and templates. In this part of the book you are introduced to the Visual Studio 2008 automation model and two extensibility options associated with it: add-ins and macros.
You'll learn that the automation model is a set of tools and APIs included in Visual Studio from the earlier versions, which let you access common functions in the IDE from your code rather than working directly with the IDE. This allows you to write code that automates processes.
Though the automation model is a set of APIs collected and inserted in a single architecture, they cover various aspects ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access