Skip to content
| Marketplace
Sign in
Visual Studio>Tools>Xrm Tools
Xrm Tools

Xrm Tools

Reza Niroomand

|
408 installs
| (3) | Free
Xrm Tools is a Visual Studio extension that makes Power Platform development feel native. It adds IntelliSense for plugins, generates boilerplate and typed entities, and makes FetchXML a first-class l
Download

What is Xrm Tools CI - VSIX

Xrm Tools is a Visual Studio extension that aims to make Power Platform development feel native within Visual Studio. You will get Intellisense support for your Plugins, generate boiler plate code, typed entities and more right from within Visual Studio. You also have full control over the code generation using Scriban templates.

Features

  • Native FetchXML authoring experience with full IntelliSense support that knows your entities, along with live preview and code generation.
  • Define plugins and custom APIs entirely in code using attributes.
  • Register plugins and custom APIs with a click.
  • Intellisense for Power Platform metadata (e.g. entities, attributes, messages).
  • Supports both traditional and packaged plugins (dependent assemblies).
  • Supports SDK-style and classic projects.
  • Solution aware plugins
  • Environment management at User, Solution or Project level
  • Secure secret managment using Windows Credential Management or environment variables
  • Design-time code generation for plugins, custom APIs, entities and Fetch XML.
  • One-click plugin / assembly registration.
  • Fully customizable code generation templates.
  • Supports CSharp v12.0 via PolySharp.
  • Retro-fit to your existing plugins using smart code-fixers (aka bulb actions)
  • Easily call Custom APIs and Actions from your plugin

Preview

Environment Setup

Environment Setup

Writing a Plugin

Writing a Plugin

Registering a Plugin

Registering a Plugin

Xrm Tools is a good citizen in Visual Studio

  • XrmTools does not need admin privileges and will not apply any system-wide change in your machine nor the configuration of your Visual Studio or projects.
  • Xrm Tools does not send any telemetry information from your machine.
  • Xrm Tools does not do any code generation at build time. In other words everything is done in development time and you will see the changes transparently and can benefit from Git for diffing and reviewing the code.
  • Xrm Tools does not force you to change your coding style. In other words, you don't have to inherit from a specific class or apply a special interface or things like that.
  • All you need to apply are a number of attributes to define your intent so the extension knows where and how to help.
  • Should you decide to uninstall Xrm Tools, whatever you have developed with it will continue to work because it is standard C# code and there is no unsupported trickery going on behind the scenes.

Plugin Registration As Code

XRM Tools enables you to define and implement Power Platform plugins and custom APIs entirely as code. The attributes in your source code are the single source of truth. By brining plugin registrations to the code you will benefit from Git and the entire echosystem that you have around the code. You are able to review the code and trace the history of every change and the reason behind them. Your team mates are able to just clone the code and know where to test (if you manage the environment at solution or project file level).

IntelliSense and Code Gen Curb Typos

Power Platform plugin development involves referring to tables, columns and other metadata stored in Dataverse. It's a very common source of bug to make typos when referring to metadata stored in Dataverse. Xrm Tools, curbs these issues by providing IntelliSense that is environment aware. Code generation will turn your plugins, custom APIs, entities and other artifacts into typed plugins and entities (aka early-bound) to take it even easier to develop for Power Platform. You will also benefit from dependency injection if you like. All the features are designed in an opt-in way, so you can use them or not. You can continue writing the same code as before or use any feature you like. This will make it possible to use Xrm Tools in your existing projects without changing your code.

Quick and Reliable Deployments

By defining plugin and custom API registrations in code, Xrm Tools enables your to deploy your assemblies and plugins with just one click. During the deployment, Xrm Tools checks the environment and find the best way to update your existing registrations. You can even register single plugins or entire projects.

FetchXml Designer in IDE

The integrated FetchXML Designer let's you write and test your queries in Visual Studio and you can save the query as part of your project. Saving the query will generate code that can be used from your plugins or APIs.

Where to start

The best way to start using Xrm Tools is:

  • Getting Started guide in the Wiki
  • YouTube Videos:
    • Short - Why Xrm Tools
    • Building a Hello World Plugin
    • Enabling Code Generation and Dependency Injection
    • Building Custom APIs
    • Calling Dataverse Messages (Custom APIs, Actions, etc.)
    • Converting old plugins to Xrm Tools in seconds

Learn more

To learn more about Xrm Tools extension for Visual Studio check the wiki

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft