Link Search Menu Expand Document

Visual Studio Automation Explained

Microsoft Visual Studio is the company’s integrated development environment (IDE). It’s been employed to make sites, web applications, online services, and phone applications, among other things. Windows API, Windows Forms Windows Presentation Framework, App Store, and Microsoft Silverlight are some of the Microsoft software development interfaces used by Visual Studio. It can generate both indigenous and controlled code. Visual Studio comes with a programming editor that supports IntelliSense (code completion) and code modification. The integrated troubleshooter can be used as both an origin and an equipment debugger. A code analyzer, an architect for creating GUI programs, a web developer, a class artist, and a database schema creator, are among the various built-in features.

It allows connectors that provide features at practically all stages, such as compatibility for version management platforms (such as Subversion and Git) and new technology equipment for database languages, such as editors and graphical architects or toolsets for other areas of the application growth process.

Visual Studio covers 36 coding languages, and the program editor and troubleshooter can support practically any coding language (to varying levels) if a dialect tool is available.

The Public version of Visual Studio is perhaps the most simple and is provided for free. The motto of Public Version Visual Studio is, "Free, fully-featured IDE for students, open-source, and independent developers."

Visual Studio Automation

The automation model collects components that can be used to create a Visual Studio add-in or extensions. A Visual Studio add-in is a program that allows you to change the surroundings and perform routine activities. A Visual Studio extension can enable access to basic features like the word processor or construct new Visual Studio elements.

Concept of Automation Model

The automation model comprises interconnected groupings of elements that manage critical aspects of the shared context. The atmosphere serves as a framework for several operational sectors.

Executing VSPackage-specific products and basic automation components are the two primary techniques to enable automation for your VSPackages. In general, these are utilized in conjunction to enhance the atmosphere's automation concept.

Components that are Specific to a VSPackage

You must offer automation components that are specific to your VSPackage in particular areas throughout the automation architecture. New tasks, for example, necessitate unique objects in which only your VSPackage can give. These objects’ identities are stored in the database and accessed via calls to the environment DTE module.

Objects in Windows

When windows are triggered, they might return to the VSPackage-specific automation object’s environment. Users create an application that extends the windows object by returning features based on IVsExtensibleObject, IExtensibleObject, or IDispatch. This technique, for instance, can be used to automate a function located in a windows frame. It’s upon you to develop a logic of this object, as well as any similar objects it might modify.

Basic Automation Objects

Basic automation objects (developed from IDispatch) that serve alongside the other project objects and contain standardized functions and attributes are also implemented to enhance program automation. Project objects added into the solutions hierarchies, such as Projects, Project, ProjectItem, and ProjectItems, are basic objects. These items must be implemented throughout all-new project categories.

These items, in a way, represent a complete reverse of the VSPackage-specific project objects. The basic automation objects enable you to utilize your application similarly, just like any other project supporting identical items. As a result, an add-in designed for basic Project and ProjectItem objects can be used with projects of any form.

Other useful articles:


Back to top

© , Visual Studio 101 — All Rights Reserved - Terms of Use - Privacy Policy