F&O Studio for VS Code
Develop Dynamics 365 Finance & Operations X++ code in VS Code, without Visual Studio. F&O Studio is for X++ developers on Windows who work on unified developer environments (UDE), cloud-hosted environments or VHD environments.
- No Visual Studio needed. You get the Application Explorer, element and form designers, the SSRS report designer, X++ code navigation (including Chain of Command implementations), build, best practice checks, deployment packages, deploy, database sync and the debugger. They use the same metadata API, compiler and scripts as Visual Studio, and projects (
.rnrproj, .axpp) open in both.
- Copilot works on the real metadata. The agent tools read, create, extend and build elements through the metadata API. They change only your own models, every write is all or nothing, and you can revert a whole Copilot session.
- Tools Visual Studio doesn't have: a report preview with Microsoft's report engine and a scanned-form overlay, an agent that builds reports from a scanned form, table data and SQL with query plans, static and live performance analysis, a built-in trace (
.etl) analyzer, license and segregation-of-duties analysis, upgrade readiness and a pre-deploy checklist.

What's new in 0.17
0.17.1: Debugging the local AOS when the C# extension is disabled.
- Debugging a cloud-hosted or VHD environment uses the C# extension's .NET debugger. When that extension was installed but disabled, F&O Studio kept offering to install it and then asked to reload the window, again and again. It now says the extension is disabled and opens its page so you can enable it. It no longer reports an install it didn't see, and it shows the error when an install fails (#16).
0.17.0: SSRS reports without Visual Studio: design them yourself, or let Copilot build them from a scanned form. Reports were the last part of F&O development that needed Visual Studio. Cheques, purchase orders, invoices and other preprinted forms can now be laid out to the millimetre, previewed, built and deployed from VS Code.
Design it yourself, as in Visual Studio:
- New Element… → Report creates an empty report and opens it; build it from scratch. Report (wizard) still creates the whole chain (data provider, contract, controller, menu item, privilege) when you want it.
- The report in the element designer looks like Visual Studio's: Datasets, Designs, Images and Parameters, with Visual Studio's property names, categories and hidden properties. Page size, margins and the other sizes are expandable rows in the Properties pane.
- Datasets: New → Data Set, then the Query property's
… picks the source for the Data Source Type: a report data provider class and its table, a query or an enum, then the fields. The dataset's fields and parameters and the report's parameters (the hidden AX_* ones, the contract's, the dynamic filter) are filled in by Microsoft's own schema code, as in Visual Studio.
- Auto designs: New → Auto Design, Add Data Region from Data Set… for a table or list, then Create Precision Design… turns it into a precision design with Microsoft's report generator, as Visual Studio does.
- Report Designer for precision designs (right-click a precision design → Open Report Designer, or double-click it):
- a page with rulers in mm or inches, grid, snap and zoom; move and resize with the mouse, or by 0.1 mm with
Ctrl+arrows; align, same size, distribute;
- textboxes, rectangles, lines, images and tablixes; fields, parameters and labels dragged from the report data;
- warnings while you design: a body wider than the page (blank pages), items outside the body, growing textboxes that push others down, fonts D365FO doesn't render;
- Scan overlay and measure tool: lay a scanned form under the page to place each field on preprinted stationery;
- Preview with Microsoft's report engine (downloaded from nuget.org on first use, after you accept Microsoft's licence), with sample data or your own rows.
- Build compiles the reports (
reportsc) into the package, as Visual Studio does, so Deploy puts them on the environment.
Let Copilot build it from a scanned form:
- F&O Report Builder agent: give it a scan or sample of the form (cheque, PO, invoice, preprinted stationery). It measures the scan, decides between a new report and a copy of the standard one, lists the elements it will create (only the ones needed: for a cheque, the copy of the standard cheque and one controller extension), writes the precision design to the measured positions, renders it and compares it with the scan until every field lines up, then builds.
- New agent tools:
xpp_get_report_design, xpp_set_report_design (save a design, copy a standard report, or generate a precision design from an auto design), xpp_render_report (pages as images, PDF), xpp_measure_image (scale, deskew, boxes, rules and text positions in mm, with Windows' local OCR) and xpp_compare_layout (overlay of the render on the scan, offset of each field in mm).
- The F&O Report Developer agent and the development guide now cover the report data sources, extending standard reports and print management, and create only the elements a report needs.
- Tested: a Canadian cheque built by the agent from a scan, deployed to a UDE and printed there with Print test: the fields land within half a millimetre of the scan. Not tested yet: MICR lines on a real printer.
What's new in 0.16
0.16.0: C# projects in your solution, like Visual Studio's Solution Explorer.
- The project view shows the solution: your X++ project with its References, the other X++ projects of the solution (Open This Project switches to one), and the C# projects of the solution or that your project references, with their files. Click a
.cs file to edit it; the C# projects are folders of the project's workspace, so the C# extension gives you IntelliSense.
- Add Reference… to a C# project of the solution, any
.csproj, or an assembly (.dll); Remove Reference. As in Visual Studio, this writes the reference into the .rnrproj and an AxReference into your model, through which X++ code uses the assembly's types.
- New C# Project… creates a .NET Framework 4.8 class library next to your X++ project, adds it to the solution and references it. It compiles against Finance and Operations' assemblies (X++ types are in
Dynamics.AX.Application) without copying them, and finds them through the active configuration, so it builds on every developer machine.
- Build (and
xpp_build for agents) builds the referenced C# projects first with MSBuild and copies what they need into your package's bin folder before X++ is compiled: the assemblies with their dependencies, PDB and XML files and satellite assemblies, and files marked Copy to Output Directory. Finance and Operations' own assemblies are never copied. Deploy refreshes them first, so the package carries them.
- Debugging loads the symbols of the assemblies your projects reference, so breakpoints in their C# code bind next to your X++ breakpoints.
- MSBuild comes from Visual Studio or the Build Tools, else from the .NET SDK;
xpp.build.msbuildPath picks another one.
- Packages linked into your metadata folder with a junction or symbolic link are offered for deploy and build (#14).
- Analyze Trace opens long traces: call trees no longer fail with "RecursionLimit exceeded", and the calls the report leaves out load when you expand a call or click Show N more calls (#12).
- The code view, formatter and syntax colouring handle
@'...' verbatim strings and interfaces, so the trace viewer and Go to Definition open those classes (#11).
@fno is removed: VS Code retires chat participants. Pick an F&O agent in the chat's agent picker instead (see Copilot below, #13).
- Form preview, redrawn after the web client (#15): the action pane card with its toolbar (New, Delete and the other root buttons), tabs and button groups in columns of three; menu buttons open their list; details forms open on the list and the record link opens the details view; only the first fast tab is open and the others show their summary fields; table of contents, grids, filters and fields with the web client's sizes. Width, Height, DisplayLength, multi-line text, ArrangeMethod, Columns and VisibleRows change the drawing as you edit them. Hidden controls, what extensions added and controls behind a configuration key show on request.
- Go to Definition across X++ and C#: from X++ to C# types and members of the referenced projects, from C# to X++ elements (
Dynamics.AX.Application), with hover and completion of .NET types in X++.
- Code view of classes with tab-indented methods no longer re-indents them on save (round trip of
PurchFormLetter, TaxCalculation and others).
- Visual Studio side by side: configurations F&O Studio writes now carry every member of Microsoft's template, so Visual Studio lists them in Manage local XPP configurations and loads metadata with them; existing ones are completed when the extension starts. Check Visual Studio's FinOps Tools Version (and a one-time prompt, only when a Visual Studio with the FinOps tools is installed) offers to install the tools that match the environment, because Visual Studio's Application Explorer does not open when they differ. F&O Studio itself never needs Visual Studio.
- The first form opened after start no longer fails with "An item with the same key has already been added".
- Tested: X++ calling C# and C# calling X++ (
CustTable) build together on this machine's UDE configuration; the solution view in an extension host. Not tested yet: hitting a C# breakpoint on a UDE or VHD.
What's new in 0.15
0.15.6: Deploy and debug your own code like Visual Studio, on unified, VHD and cloud-hosted environments.
Unified developer environments (UDE):
- Deploy Models to Environment uploads your packages as you built them, through the environment's Dataverse, as Visual Studio's Deploy Models to Online Environment does. Nothing is recompiled, so the environment runs the build you debug. Before, the command recompiled an empty copy of your model with pac's own compiler.
- Pick the packages to deploy (your project's package is preselected) and the database sync: None, Module (the deployed packages) or Full. Progress shows in the X++ Deploy output.
- Synchronize Database also runs through Dataverse. The Power Platform CLI (
pac) is no longer needed for deploy or database sync.
- The
deploy task takes "dbSync": "None" | "Module" | "Full"; Incremental (which needed an argument file with pac) now runs a Module sync.
- Breakpoints in your own code stop after the deploy: they bind, step, show variables, and the stop shows in your code view.
Cloud-hosted and VHD environments, like Visual Studio's F5:
- Start debugging and F&O Studio attaches to the AOS of the runtime host type set in Visual Studio's Dynamics 365 options: the AOS site's application pool in IIS, or IIS Express. No process list to pick from. To debug the batch service, set
"processName": "Batch.exe".
- Breakpoints in your own code bind and stop.
- After a successful build, the AOS hosts that are running (IIS Express or the IIS application pool, and the batch service) restart so they load the new build, as Visual Studio does. The debugger detaches first. The batch service is ended and started again right away; batch tasks that were running are cut off. Turn this off with
xpp.build.restartLocalAos.
- Stopping the debugger only detaches; the AOS keeps running.
- PackagesLocalDirectory and the AOS are found from Visual Studio's Dynamics 365 options, the batch service and the AOS web.config, on any drive.
- Needs the C# extension (its .NET debugger); F&O Studio offers to install it and waits for its debugger download.
All environments: the compiler writes Windows PDBs, which the VS Code debugger can't read, so every successful build converts them to portable PDBs with Microsoft's Pdb2Pdb (included). Visual Studio debugs the converted PDBs too.
Tested on:
- UDE (10.0.2790.108): deploy without a database sync, Synchronize Database (Module), then a breakpoint in a class of your own bound, stopped in the code view, stepped and showed variables and the Infolog; standard-code breakpoints as in 0.15.4–0.15.5.
- VHD (10.0.46, on IIS and on IIS Express): build converts the PDBs and restarts the AOS, attach without a process list, breakpoints in your own and in standard code stop, step, continue, Infolog; stopping leaves the AOS running. The new way of restarting the batch service has not been run on a VHD yet.
- Cloud-hosted environments use the same code path as VHD environments but have not been tested yet.
- Not tested yet: deploying with a Module or Full sync, several packages in one deploy, packages larger than 100 MB.
0.15.5: Debugging shows your code view, and the debugger is configurable.
- When the debugger stops in an element, it shows the X++ code view you set the breakpoint in (for example
PurchTable.xpp), not a separate debug copy of the file.
- Configure the debugger in
.vscode/launch.json: justMyCode, additionalModules, symbolOptions and logging (see Debugger options under Settings).
0.15.4: Debugging Microsoft's code uses Visual Studio's debugger settings.
- Breakpoints in standard code are set up the way Visual Studio sets them up: Just My Code stays on and only the module that holds the element loads symbols. Before, the environment could stop responding while the debugger was attached.
- Tip: open the form or run the code once before you start the debugger, so the breakpoint binds right away.
0.15.3: The debugger never leaves the environment frozen.
- While the debugger is stopped (at a breakpoint or after Pause), the environment's server is suspended for every user. Disconnecting, closing or reloading the window now resumes it first and only detaches, never ends it.
- A debugger left attached by a VS Code window that crashed is stopped the next time F&O Studio starts.
0.15.2: Breakpoints in Microsoft's code (and in your own) bind and stop on unified developer environments.
- A breakpoint in a standard element's code view, for example the
init method of the PurchTable form, now binds, stops, steps and shows its variables. Before, it stayed hollow with "No symbols have been loaded for this document".
- The debug source is the element's code as the compiler numbers it (for forms, with their data source and control classes), so breakpoints land on the right line.
- The breakpoint you set in the code view shows the same state as the one the debugger binds, and breakpoints you add while debugging are picked up right away.
0.15.1: Fixes from an end-to-end trial of every tool and command.
Run Best Practice Checks no longer fails with "line must be non-negative" (metadata findings without a line).
Forms: xpp_read_object returns their data sources, and xpp_validate_object checks form data sources and controls correctly.
Copilot checkpoints no longer block a change when the element's earlier state can't be saved; Revert names that element.
Browse Table Data without database credentials asks in a dialog instead of waiting on a notification.
New labels show their text in the designer and form preview right away.
xpp_read_label accepts full references (@SYS7149, @SCM:SalesStatusLabel); model and object lists mark your own models; exact name matches come first.
Report Problem on every unexpected error, and it can file the GitHub issue directly with your GitHub sign-in.
The Kusto snippets were removed (they needed a Kusto extension); the Telemetry Queries command has the same queries.
Copilot agents for developers and functional consultants. 23 agents in the Copilot agent picker, each with its own instructions and the next agent to hand off to:
- Developers: F&O Developer, Code Reviewer, Support, Performance, Upgrade Reviewer, Test Engineer, Report Developer, Workflow & Events, Release Manager, Code Archaeologist.
- Developers and consultants: Solution Designer, Architect, Security & License, Integration.
- Functional consultants: Functional Explainer, Setup Advisor, Data Investigator, Functional Triage, Role Designer, Test Scenarios, Fit-Gap Analyst, Data Migration, Release Notes. They answer in business terms and use the live environment through the Dynamics 365 ERP MCP server or the browser.
- When you haven't picked an agent, Copilot suggests the one that fits, or runs it for a self-contained part of the task. Agents change data, setup or metadata only after you allow it, and never in production.
Find Message Source for mandatory fields. For "Field '…' must be filled in." it first lists the mandatory table fields with that label (the platform raises it when a field whose Mandatory property is Yes is empty), then code that raises it for one of those fields, and keeps code that reuses the text for other fields apart. xpp_find_message_source does the same for agents.
What's new in 0.14
0.14.1: Server internals and a security analysis fix. Bridge actions, agent tools and element types are each registered once; tools/list comes from the same registry that serves the calls, and write checks come from each action's registration. Behaviour is unchanged (every action and tool is checked against a recorded baseline). xpp_analyze_security with op=license or op=access and no objectName now says what is missing instead of failing with an internal error.
- New wizards: New Table with Form… (key EDT, table with an alternate key and find/exist, a SimpleList form, menu item, View and Maintain privileges) and New Data Entity… (entity for OData and data management, staging table, privileges).
- Rename everywhere: rename a field of your table in the designer, or Rename… one of your elements in the Application Explorer. X++ code that uses it changes in the refactor preview, and the metadata of your other elements (menu items, form controls, data sources, entity fields, relations, security) follows.
- View Dependencies: what an element uses, from the cross-reference database. Every diagram exports Mermaid.
- Debugger on cloud-hosted and VHD environments (preview): Launch Debugger attaches to the local AOS (w3wp.exe or Batch.exe) with the C# extension's .NET debugger.
- Export Labels… / Import Labels… as CSV with one column per language.
- Tasks:
deploy (with database sync) and syncDatabase next to the build tasks.
- Analyze Performance checks form data sources: OnlyFetchActive for grids that show few fields, and Delayed or Active data sources shown in the parent's grid instead of joined.
- Azure DevOps: Link Work Item… adds the work item to the commit message, Review My Changes lists the branch's work items, Open Pipelines opens Azure Pipelines or GitHub Actions.
What's new in 0.13
0.13.3: Analyze Trace on VHD environments, Copilot opens code in the editor. Analyze Trace finds the event manifests on local VHD environments (AosService\WebRoot\Monitoring or the registered trace providers), or in the folder set in xpp.trace.manifestFolder / manifestFolder (#10). The new xpp_open_element tool lets Copilot show an element in the X++ code editor or designer, at a method and line, instead of opening its XML. Open Element… opens the element when you press Enter before the results appear, and has its own icon.
0.13.2: Build compiles label files. LabelC now gets the label file names with their language (Id_en-US,Id_de instead of Id), so models with label files build, and Build and best practice checks find a model whose package has a different name (#9).
0.13.1: Analyze Trace for errors and integrations. The trace analyzer lists every AOS and session in the trace with its user (dual-write, OData, batch, other users), finds errors and exceptions with their full X++ call stack, shows UTC times to match integration logs, and filters by AOS, session, user, method or time window (also in xpp_analyze_trace).
Features marked preview have not yet been verified on a live environment.
Daily loop
- Code folding for methods, statements,
case blocks, comments and // region blocks.
- Build Project from an X++ editor with
Ctrl+Shift+B. Unsaved code is saved first, and a failed build offers Show Problems.
- New Element… works like Visual Studio's Add New Item. It covers every element and extension type plus the wizards, from
+ on the project view.
- Open Element… (
Ctrl+Alt+O) shows recent elements and filters by type prefix (t: tables, c: classes, f: forms).
- F&O Studio panel: Results, Infolog and Copilot Activity in one place.
- Review My Changes, the Pre-Deploy Checklist and Upgrade Readiness show their findings in Results. Click a finding to open it; use Run Again, Copy Report as Markdown or Export Report….
- Dynamics 365 view grouped by task: Environment, Create, Build and check, Deploy, Data, Analyze, Find, Security, Labels, Model and project, Copilot, Debug.
- Properties grid: filter, categories, changed values marked, a label picker that finds or creates labels, and element pickers (
Alt+Down). Go to Referenced Element… replaces the separate Go to commands.
- Browse Table Data has a record inspector that follows relations to the related rows.
- Element and form designers, the label editor, data tabs and trace tabs come back after a restart.
Environment and team
- Version drift guard (preview): you get a warning when the environment runs a newer application version than the metadata on this machine.
- Update Metadata downloads the new version.
- Clean Up Old Application Versions… frees disk space and keeps the newest older version for Standard Code Drift.
- Environment setup shows its steps in the Dynamics 365 view and can retry a failed step. Switching environments no longer needs a window reload.
- Open Team Repository… (preview) clones a repository, links its packages into your metadata folder and builds them in dependency order.
- Deployed or not: the project's status bar item shows when the build is newer than the last deploy from this machine. Run Tests, the debugger and
xpp_run_tests warn first and offer Deploy First.
Upgrades and review
- Standard Code Drift of Wrapped Methods… shows the standard methods your Chain of Command code wraps that changed between two installed versions, with a diff for each.
- Upgrade Readiness also reports collisions with other models' extensions: the same field, index, field group, enum value or form control, and several wrappers of one method.
- Data entity readiness in Analyze Performance, Review My Changes and the Pre-Deploy Checklist: public names, keys, staging fields, mandatory fields and set-based processing.
- The Pre-Deploy Checklist fails while Run Snippet's scratch class is still in the model.
Create and test
- New wizards: New Business Event…, Add Number Sequence… and New Feature (Feature Management)…. Show Feature Usage finds where a feature is checked in code.
- Generate SysTest Class with Test Data (ATL) builds test data (customers, vendors, items, warehouses) with the Acceptance Test Library and adds the model references it needs.
- Try Data Entity (OData)… and Try Service Operation… (preview) call the active environment and save each request as an
.http file. Service calls ask first, and the access token is never written to the file.
Copilot
- Checkpoints: Start Copilot Checkpoint, then Revert Copilot Changes Since the Checkpoint… to undo every element, label and project change Copilot made.
- Set Copilot Scope… limits the elements Copilot may change. The server enforces the scope.
- Verify Changes in the Running App (Copilot) (preview) turns your changed elements into check steps. Copilot agent mode then runs them with the Dynamics 365 ERP MCP server, which you set up separately.
Support
- Report a Problem… builds a redacted diagnostics bundle for you to preview and send yourself; nothing is sent automatically. Every command error offers it.
- Configure Code Intelligence… turns code intelligence features on or off in one place.
Earlier releases
- 0.12: Browse Table Data and SQL queries (temporary UDE credentials, local AxDB), Analyze Performance with live database insights, Analyze Trace, Upgrade Readiness, wizards (batch job, report, approval workflow, custom service), best practice checks, Review My Changes, the Pre-Deploy Checklist,
@fno in chat, Copilot Activity, team rules, Test Explorer, build tasks and an accessibility pass.
- 0.11: Go to referenced elements, F12 in code, element history, drag and drop from the Application Explorer, one workspace per project, server-side write checks.
Full history: the changelog (also the Changelog tab of the Marketplace page).
Features
Application Explorer and projects
- Classic view shows all models' elements by category and type. Model view shows each model by display name. Both have a name filter.
- Clicking an element:
- a class opens its code;
- a label file opens the label editor;
- any other element opens its designer.
- Right-click actions:
- Open Designer, View Code, Open Form Layout…, Add to Project
- Create Extension, Create Code Extension (Chain of Command)
- Find References, View References, View Hierarchy, View Entity Relationship Diagram (ERD)
- Browse Table Data, Analyze Performance
- Try Data Entity (OData)…, Try Service Operation…, Show Feature Usage
- Compare Code…, Compare Metadata…, Open in Browser, Open Table Browser
- On your own models: Upgrade Readiness and Standard Code Drift of Wrapped Methods…
- Projects (optional):
- Open D365FO Project…, Open Recent D365FO Project…, Create D365FO Project… (writes
.rnrproj and .slnx like Visual Studio), Export Project… and Import Project… (.axpp, the same format as Visual Studio).
- Each project opens in its own workspace with its project and model folders, and the folders of its C# projects.
- The project view shows the solution, as Solution Explorer does: the X++ project with its References and elements by folder, the other X++ projects of the solution, and the C# projects with their files. It follows the
.rnrproj, so elements added by Copilot or Visual Studio show up on their own. It marks git changes.
- Add Reference…, Remove Reference, New C# Project… and Build C# Project work on references to C# projects and assemblies.
- Exclude from Project keeps the element in the model. Delete removes it from the model (your own models only).
- Models: Create Model…, Update Model Parameters…, View Model Dependencies….
Create elements
- New Element… (
+ on the project view and its folders) is Visual Studio's Add New Item: classes, tables, EDTs, enums, forms, menu items, security objects and every extension type.
- Wizards create complete standard patterns in your project's model. Each one is all or nothing, and each result compiles without warnings.
- New Batch Job: SysOperation contract, service and controller, plus an action menu item and a privilege.
- New Report: TempDB table, optional date contract, report data provider, controller, report with a ready-to-run design, output menu item and privilege.
- New Approval Workflow on one of your tables: status, document, category, type, approval, event handlers, menu items, privileges and the form's workflow settings.
- New Custom Service: request and response contracts, service class, service, service group and privilege.
- New Business Event…: event and contract classes, a trigger, and labels for the catalog.
- Add Number Sequence…: the module's number sequence reference, the parameters method and the number fetched on insert.
- New Feature (Feature Management)…: the feature class and its labels.
Reports
- New Element… → Report creates an empty report, as Visual Studio's Add New Item does; Report (wizard) still builds the whole chain (data provider, contract, controller, menu item, privilege).
- The report in the element designer, as in Visual Studio: Datasets, Designs, Images and Parameters, with Visual Studio's property names, categories and hidden properties. Sub-objects (Page Size, Margin, Interactive Size, Size To Fit, padding and styles) are expandable rows in the Properties pane, not nodes.
- Datasets: New → Data Set, then the Query property's
… picks the source by Data Source Type, as Visual Studio does: a report data provider class (and its data table), a query or an enum, then its fields. The dataset's fields and parameters and the report's parameters (the hidden AX_* ones, the contract's, the dynamic filter) are created from it with Microsoft's own schema analyzers.
- Designs: New → Auto Design or Precision Design. A new precision design is an empty page the Report Designer opens.
- right-click a precision design for Open Report Designer (or double-click it); a report with several designs asks which one to open;
- auto designs list their data regions (table, list, matrix, chart) with Groupings, Sortings, Filters and Data, and the fields under Data;
- Add Data Region from Data Set… on Designs or on an auto design adds a table or list with the dataset's fields (it creates the auto design when needed);
- Create Precision Design… on an auto design generates a precision design from it with Microsoft's report generator, as Visual Studio does, and opens it in the Report Designer. The auto design stays.
- Report Designer (Open Report Designer on a report, in the Application Explorer, the project or the element designer) lays out precision designs (SSRS RDL):
- a page view with margins, page header, body and page footer; rulers in mm or inches, grid and snap; zoom;
- select, move and resize with the mouse; arrow keys move by the grid,
Ctrl+arrows by 0.1 mm, Shift+arrows resize; align, make same size, distribute, bring to front and send to back; copy, paste, duplicate, delete, undo and redo;
- textboxes, rectangles, lines and embedded images; fields, parameters, built-in fields and labels dragged from the report data onto the page or into a tablix cell;
- tablix cells, column widths and row heights; insert and delete columns, and fixed rows next to header and footer rows;
- properties for text (value or expression, font, size, alignment, padding, format, can grow), borders and fill, visibility, images and the page (paper presets, margins, body, header and footer);
- warnings while you design: body wider than the page (blank pages), items outside the body, growing textboxes that push others down, and fonts that D365FO doesn't offer or that aren't installed here;
- Scan overlay: lay a scanned form under the page at its paper size, with opacity and offset (never saved), and a measure tool, to place fields on preprinted stationery;
- Preview renders the design with Microsoft's own report engine, as PDF and print render it, with sample data or your own rows, labels in the chosen language, and the scan under the page to compare.
- The designer keeps the RDL's schema version, units and everything it doesn't edit; standard reports open read-only with Duplicate into my model….
- Build compiles your reports (Microsoft's
reportsc) into the package, as Visual Studio does, so deployed reports run.
- The preview downloads Microsoft's Report Viewer runtime from nuget.org the first time, after you accept Microsoft's licence (Install Report Preview Runtime). F&O Studio doesn't ship it.
Element designer
- Node tree and Properties grid for every element type. They are built from the same metadata classes as Visual Studio's designer, with the same node order and icons.
- Properties grid: filter, categories, changed values marked, label picker (find or create) and element pickers (
Alt+Down). Go to Referenced Element… opens what a property points to.
- Editing: New (any node type a folder accepts), New Method…, Override Method…, Rename…, Duplicate…, Move Up and Move Down, Delete, and Add from Application Explorer… (or drag and drop, with Visual Studio's drop rules). Undo with
Ctrl+Z and redo with Ctrl+Y.
- Events: Copy Event Handler Method (or double-click) puts Visual Studio's handler code on the clipboard. Find Event Handlers lists the existing ones.
- Forms: a preview drawn like the web client: the action pane with working tabs and menu buttons, list and details views of details forms, fast tabs that open and close with their summaries, table of contents, grids and fields. Size and arrangement properties (Width, Height, DisplayLength, ArrangeMethod, Columns, VisibleRows, multi-line) show as you change them. Show hidden controls and markers adds controls whose Visible is No and outlines what extensions added and what a configuration key controls.
- Extensions show the base element's nodes; the extension's own nodes are in bold. Elements outside your models are read-only, and the editor title offers Create Extension.
- Entity relationship diagram: choose the levels, the direction and the fields shown. Export it as SVG or Mermaid.
- Label editor: search, other languages side by side, New, Edit and Delete in every language, and Copy @reference.

Code
- Code view: a class looks the way Visual Studio shows it, with the declaration and then the methods inside its braces. Methods of data sources, fields and controls open in their own editor.
- Code folding for methods, statements,
case blocks, block and doc comments, and // region blocks.
- Navigation:
- Go to and Peek Definition (
F12) on element names, Type::method, this., super. and variable.method().
- Find All References (
Shift+F12) uses the cross-reference database.
- Hover shows the element, the label text or the method signature.
Code intelligence
Turn each feature on or off with Configure Code Intelligence…, or with the xpp.codeIntelligence.* settings.
- Outline and breadcrumbs. Go to Symbol in Workspace (
Ctrl+T) finds elements and Class.method.
- Go to Implementations (
Ctrl+F12) lists overrides, Chain of Command classes and methods, and pre/post and event handlers. Show Extensions and Handlers… and Rebuild Extension Index run from the command palette.
- Code lens above classes and methods shows references, overrides, Chain of Command classes and handlers.
- Call hierarchy and type hierarchy.
- Completion after
. and :: (including methods added by Chain of Command), for @ labels and for keywords, plus signature help.
- Checks and formatting:
- syntax errors while you type (the X++ compiler's parser);
- warnings on
[SysObsolete] APIs;
- Format Document;
- optional compile on save and semantic highlighting (both slower, off by default);
- an event handler index for form and data events, which the cross-reference database doesn't record.

Productivity
- Search Code in All Packages (
Ctrl+Shift+Alt+F): text or regex search over every package's X++ code.
- Find Similar Standard Implementations: standard elements like the selected one, or matching a description such as "batch job with contract".
- Find Message Source: paste an error, warning or info message as the user saw it, values included, to find the labels and the code that raises it. For "Field '…' must be filled in." it first lists the mandatory table fields with that label (the platform raises it when a field whose Mandatory property is Yes is empty), then the code that raises it for one of those fields, and keeps code that reuses the text for other fields apart. It's also on every Infolog message.
- Quick fixes (
Ctrl+.):
- extract to label;
- generate
find() and exist();
- implement missing interface methods;
- create a Chain of Command wrapper.
- Add to Privilege…, Generate SysTest Class, Generate SysTest Class with Test Data (ATL), and Run Snippet in Environment, which runs a
main method through a scratch class in your model.
- Snippets for Chain of Command, event handlers, SysOperation, find/exist, parm methods, transactions with retry and SysTest.
Build, test, deploy and debug
- Build:
- Build Project (
Ctrl+Shift+B in an X++ editor, or the status bar) reports only the project's problems. Build Model covers the whole model.
- Builds use xppc and LabelC, and errors go to Problems at the right line.
- The C# projects and assemblies the project references are built and copied into the package first, as Visual Studio does.
- Unsaved code is saved first (
xpp.build.saveBeforeBuild). A failed build offers Show Problems.
- Build tasks:
{ "type": "xpp", "action": "buildProject" } (or buildModel) in tasks.json.
- Run Tests:
- runs SysTest classes on the environment, like Visual Studio's Test Explorer;
- the project's test classes also appear in VS Code's Test Explorer;
- tests run the deployed code, and you get a warning when your build is newer than the last deploy.
- Deploy:
- Create Deployment Package… (the same script Visual Studio runs);
- Deploy Models to Environment deploys your packages as built on this machine, as Visual Studio does, and Synchronize Database runs a Full or Module sync (both through the environment's Dataverse);
- Initialize Deployment Solution (pac) and Sign In to Environment (pac) set up a Power Platform CLI solution if you deploy with
pac yourself;
- Synchronize Tables syncs only your project's tables on cloud-hosted and VHD environments.
- Debugging:
- Launch Debugger attaches through the FinOps debugger proxy, as Visual Studio does, and you can set breakpoints in the code view and in the C# code your project references.
- Infolog shows the debugged code's messages, each linked to Find Message Source.
- Status bar: project and last build result, deployed state, X++ server state (click to restart) and database.
Data
- Browse Table Data (right-click a table, or from its designer):
- enum names next to their values;
- company filter, and an as-of date for date-effective tables;
- column filters, sorting, a row limit and Export CSV;
- a record inspector that follows relations.
- Open as SQL turns the view into an editable query.
- New SQL Query:
- read-only by default: one SELECT, always rolled back;
- Explain Plan shows the query plan;
- Allow changes commits after a confirmation each run, with a warning that X++ business logic is skipped.
- Database access:
- Cloud-hosted and VHD environments use the local AxDB with Windows authentication.
- Unified developer and sandbox environments use temporary credentials from Request Database Credentials, the same request Visual Studio makes. They are kept in VS Code's secret storage until they expire.
- Open Database in SQL Server Management Studio opens SSMS on the same database.
- Analyze Performance (classes, tables, forms, data entities) puts findings in Problems with the fix. It finds:
- queries and row-by-row writes inside loops;
- lookups inside
while select, and while select of every field;
forupdate without a write, and unbalanced transactions;
- unlimited
crossCompany;
- set-based statements that silently run row by row;
- missing indexes and cache settings;
- data entity readiness problems.
- Database Performance Insights (needs database access): missing indexes, the most expensive queries, batch job history, and number sequences that slow posting.
- Analyze Trace… reads a web client trace (
.etl) with F&O Studio's own parser; no Trace Parser and no import database. It shows:
- requests on a timeline, per AOS and thread, with UTC times to match integration logs;
- every AOS and session in the trace with its user (other users, dual-write and OData integrations, batch), one click to filter on it;
- errors and exceptions with the full X++ call stack (
Global::error, checkFailed, warning, and frames unwound by an exception with the method that caught it);
- call trees, hot methods and SQL per method; calls the report leaves out load when you expand them;
- pauses;
- each method one click from its code.
xpp_analyze_trace takes the same filters for agents: aos, session, user, method (requests that reach it, with the path) and from/to (UTC times).
- Telemetry Queries (Application Insights KQL): the most used and slowest forms, X++ exceptions and custom events. On a form, the queries are filtered to that form.

Review, release and upgrades
- Run Best Practice Checks on Project runs xppbp, the checker Visual Studio runs, and puts its warnings in Problems.
- Review My Changes lists the elements changed against
xpp.git.baseBranch, each with its best-practice and performance findings, plus a pull request summary to copy. Show Changed Elements lists the same elements.
- Pre-Deploy Checklist checks, in one report:
- build, best practice and performance;
- security gaps and unlabelled text;
- uncommitted changes;
- Run Snippet's scratch class left in the model.
- Upgrade Readiness:
- uses of
[SysObsolete] APIs, with the replacement the attribute names;
- Chain of Command wrappers, event handlers, and table, form and enum extensions that no longer match the installed application;
- collisions with other models' extensions.
- Standard Code Drift of Wrapped Methods… compares the standard methods you wrap between two installed versions, with diffs.
Security and licensing
- Security view: your models' roles and the standard roles they extend, each with its user license. Expand a role down to its entry points and grants.
- Analyze License shows the license a role, duty or privilege needs, what drives it, and where read-only access would lower it.
- Who Can Access shows the privileges, duties and roles that reach a menu item, form, table or data entity.
- Find Security Gaps and Check Segregation of Duties. Edit Segregation of Duties Rules writes the rules to a file you can change.
- Security Report… for sign-off, as Markdown or CSV.
Integration
- Try Data Entity (OData)… (preview) queries an entity on the active environment.
- Try Service Operation… (preview) calls a custom service with a request body filled from its data contract.
- Both save the request as an
.http file. The access token is never written to the file.
Labels and refactoring
- Find Labels…, Translate Missing Labels… (you review each translation before it is saved) and Find Unused Labels….
- Rename… (
F2) on a method of your models updates its calls, after a preview. Renaming a field of your table in the designer, or Rename… on one of your elements, also changes the code and the metadata of your other elements that use it.
Environments
- Connect to Environment… downloads the metadata, restores the cross-reference database and configures the machine. It shows each step and can retry a failed one.
- Select Environment… (also from the status bar) switches environments without a reload.
- Each workspace remembers its own environment, so two windows can work with two environments.
- Sign In to Environment (pac) keeps one pac profile per environment, for your own
pac commands.
- Version drift guard (preview): you get a warning when the environment runs a newer application version. Update Metadata downloads it, and Clean Up Old Application Versions… removes old versions after a confirmation.
- Open Team Repository… (preview): clone or pick a repository, link its packages into the metadata folder and build them in dependency order.
- Cloud-hosted and VHD environments work without a connection step. F&O Studio uses the local PackagesLocalDirectory, AOS and AxDB. Deploy and Run Tests are UDE-only and are hidden there; the debugger attaches to the local AOS (preview, needs the C# extension).
- Using Visual Studio too: the configuration F&O Studio writes is the one Visual Studio reads. Check Visual Studio's FinOps Tools Version installs the FinOps tools that match the environment's metadata into Visual Studio when they differ (Visual Studio's Application Explorer does not open otherwise).
Copilot
- Agents in the Copilot agent picker, each with its own instructions and next-step handoffs:
- Developers: F&O Developer, Code Reviewer, Support, Performance, Upgrade Reviewer, Test Engineer, Report Developer, Report Builder, Workflow & Events, Release Manager, Code Archaeologist.
- Developers and consultants: Solution Designer, Architect, Security & License, Integration.
- Functional consultants: Functional Explainer, Setup Advisor, Data Investigator, Functional Triage, Role Designer, Test Scenarios, Fit-Gap Analyst, Data Migration, Release Notes. They answer in business terms and use the live environment through the Dynamics 365 ERP MCP server or the browser (they suggest connecting it when it's missing).
- Report Builder turns a scanned or sample document (cheque, purchase order, invoice, preprinted form) into a report: it measures the scan, picks the data source and decides between a new report and extending the standard one, writes the precision design to the measured positions, then renders and compares it with the scan until every field is in place.
- When you haven't picked one, Copilot suggests the agent that fits, or runs it for a self-contained part of the task.
- Agents change data, setup or metadata only after you allow it, and only in development, sandbox or build environments, never in production.
- Coming from
@fno (removed: VS Code retires chat participants)? /design is the Solution Designer, /extend the F&O Developer, /explain the Code Archaeologist or Functional Explainer, /review the Code Reviewer, /support F&O Support, /performance F&O Performance.
- Copilot Activity shows every tool call agents make, with arguments, duration and result. Changed elements link to their designer.
- Checkpoints and scope:
- Start Copilot Checkpoint, then Revert Copilot Changes Since the Checkpoint… or End Copilot Checkpoint (Keep Changes);
- Set Copilot Scope… limits the elements Copilot may change. The server enforces both.
- Create Team Rules for Copilot creates
.xpp/agent-rules.md, which is added to the agent instructions of everyone working in the repository.
- Verify Changes in the Running App (Copilot) (preview) plans checks from your changes and runs them through the Dynamics 365 ERP MCP server.
The tools are registered automatically. Copilot can:
- Read and write metadata: read, create, update, validate and delete elements.
- Writes are limited to your own models and are all or nothing.
- An existing name is never overwritten.
- Large objects are read as a summary first.
- Extend standard objects: table, form, enum, EDT, menu, security and data entity extensions. Form controls are placed and checked against the form's patterns. Entity extensions include their staging tables.
- Find precedents: find standard implementations to follow (
xpp_find_examples), search all code (xpp_search_code), and find references with the calling code (xpp_find_references).
- Check its work: best-practice warnings come back after every write.
- The agent's plan names a standard precedent for each object and includes a class design.
xpp_build, xpp_check_best_practice and xpp_analyze_performance check the result.
- Analyze: security and licenses (
xpp_analyze_security), messages (xpp_find_message_source), traces (xpp_analyze_trace), and upgrades and collisions (xpp_find_deprecations).
- Design reports: read a report's designs, datasets and item positions in mm (
xpp_get_report_design), save a precision design, generate one from an auto design or copy a standard report into your model (xpp_set_report_design), render it with Microsoft's report engine and see the pages (xpp_render_report), measure a scanned form (xpp_measure_image: scale, deskew, boxes, rules, text positions with Windows' local OCR, a mm grid picture) and compare a rendered page with the scan (xpp_compare_layout: overlay and offset per field).
- Test and release: run tests on the environment (
xpp_run_tests), list branch changes (xpp_diff_changes) and create a deployment package (xpp_package).
- Read data:
xpp_query_data runs one read-only, row-limited SELECT after your confirmation. The agent never sees credentials.
- Read documentation: search Microsoft Learn, and load the full development guide on demand (
xpp_get_guide), including Acceptance Test Library tests.
Compared with Visual Studio
Same means the same compiler, script, file format or metadata API. Different means another way to get the same result.
| Visual Studio |
F&O Studio |
|
| Application Explorer (classic and model view) |
Application Explorer |
Same |
| Solution Explorer: X++ and C# projects, references |
Project view with References, the solution's C# projects and their files; Add Reference…, New C# Project… |
Same .rnrproj items and AxReference elements; C# editing through the C# extension |
| Solution Explorer: Add > New Item |
New Element… and the wizards |
Same element types, plus batch job, report, workflow, service, business event, number sequence and feature wizards |
| Element designers and the Properties window |
Element designer with a filterable, categorized Properties grid and pickers |
Same metadata classes |
| Form designer |
Form layout preview, form extensions, element designer for the nodes |
Same: a preview where clicking a section selects its control |
| Code editor |
X++ code view with completion, definitions, references, Chain of Command implementations, code lens, folding and formatting |
Same code layout |
| Build models, build project |
Build Model, Build Project; errors in Problems |
Same (xppc, LabelC) |
| Best practice checks |
Run Best Practice Checks on Project |
Same (xppbp) |
| Synchronize database |
Synchronize Database (Dataverse on UDE, SyncEngine on cloud-hosted and VHD), Synchronize Tables |
Same |
| Create deployment package, deploy |
Create Deployment Package…, Deploy Models to Environment |
Same: the locally built packages go up through Dataverse |
| Model management |
Create Model…, Update Model Parameters…, View Model Dependencies… |
Same |
| Import/Export project (.axpp) |
Import Project…, Export Project… |
Same file format |
| Find references, metadata search, find labels, tag references |
Find References, Open Element…, Find Labels…, Find Tag References… |
Same cross-reference database |
| Compare |
Compare Code…, Compare Metadata… in VS Code's diff editor |
Different view, same content |
| Launch debugger |
Launch Debugger (DebuggerProxy with vsdbg on UDE; the C# extension's debugger on the local AOS) |
Same debugger proxy on UDE |
| Infolog |
Infolog in the F&O Studio panel |
Same messages |
| Test Explorer (SysTest) |
Test Explorer and Run Tests |
Same runner on the environment |
| DGML diagrams |
Hierarchy, references, dependencies and entity relationship diagrams, exportable as Mermaid |
Different |
| Trace Parser |
Analyze Trace… (own .etl reader, no import database) |
Different |
| Open in browser, table browser |
Open in Browser, Open Table Browser, Browse Table Data, SQL queries |
More |
| Report designer (.rdl) |
Report Designer for precision designs, with a preview by Microsoft's report engine and a scan overlay; New Report wizard |
Same RDL; Visual Studio has no local preview. Charts, gauges, maps and subreports are kept but edited in the RDL |
| Data entity wizard |
New Data Entity… (entity, staging table, privileges) and New Table with Form… |
Same result, more elements |
Requirements
- Windows, VS Code 1.101 or later.
- One of these environments:
- Unified developer environment: Connect to Environment… installs the metadata, compiler and FinOps tools.
- Cloud-hosted or VHD environment: run VS Code as administrator, as Visual Studio does, to build into PackagesLocalDirectory.
- SQL Server LocalDB, for cross references.
- Optional: Power Platform CLI (
pac), only for the (pac) commands. Deploy and database sync don't need it.
- GitHub Copilot, for the agents and the agent tools. Verify Changes in the Running App also needs the Dynamics 365 ERP MCP server.
- Optional: the report preview downloads Microsoft's Report Viewer runtime (about 15 MB) from nuget.org once, after you accept Microsoft's licence.
Getting started
- Open the F&O Studio view in the activity bar, or the Get started with F&O Studio walkthrough.
- Set up the machine:
- Unified developer environment: run Connect to Environment… from the Environment group of the Dynamics 365 view.
- Cloud-hosted or VHD environment: there is nothing to set up.
- Pick your starting point:
- Team repository: Open Team Repository… links its packages and builds them.
- Your own project: Open D365FO Project… or Create D365FO Project…. A project is optional.
- Just browsing: use the Application Explorer.
- Open elements (
Ctrl+Alt+O), build (Ctrl+Shift+B), browse data, or ask Copilot in agent mode (pick an F&O agent in the agent picker). Start a Copilot checkpoint first if you want to be able to revert.
Settings
| Setting |
Description |
xpp.project |
The project (.rnrproj) of a project workspace. Open D365FO Project writes it; it is ignored in user settings |
xpp.environmentUrl |
Dataverse URL of your default unified developer environment. Select Environment… picks one per workspace |
xpp.financeAndOperationsUrl |
Web client URL for Open in Browser and Open Table Browser, used when the environment's configuration has none |
xpp.auth.clientId |
Optional Microsoft Entra app ID for sign-in |
xpp.build.crossReference |
Update cross references while building |
xpp.build.runAppCheckerRules |
Run AppChecker rules during the build |
xpp.build.saveBeforeBuild |
Save unsaved X++ code views before a build |
xpp.build.restartLocalAos |
Cloud-hosted and VHD: restart the running AOS hosts (IIS Express or IIS application pool, batch service) after a successful build |
xpp.build.msbuildPath |
MSBuild.exe for the C# projects and assemblies your project references; empty: Visual Studio's or the Build Tools', else the .NET SDK's |
xpp.pacPath |
Path to pac, for the (pac) commands |
xpp.debuggerProxyPath |
Path to Microsoft.Dynamics.AX.DebuggerProxy.exe, if it isn't in the default location |
xpp.erd.depth, xpp.erd.direction, xpp.erd.fields |
Defaults for the entity relationship diagram |
xpp.security.sodRulesFile |
Segregation of duties rules (JSON); leave empty to use the built-in rules |
xpp.codeIntelligence.* |
Turn code intelligence features on or off (outline, navigation, workspaceSymbols, completion, hover, codeLens, syntaxCheck, obsoleteWarnings, formatting, eventHandlerIndex, semanticHighlighting, diagnosticsOnSave) |
xpp.git.baseBranch |
The branch Review My Changes and Show Changed Elements compare with |
xpp.usageStatistics |
Count command use on this machine only; nothing is sent. Show Usage Statistics lists the counts |
Debugger options
The debugger works without a configuration. To change it, add an xpp configuration to .vscode/launch.json (Run and Debug > create a launch.json file > X++), for example:
{
"type": "xpp",
"request": "attach",
"name": "Attach to Dynamics 365",
"justMyCode": true,
"additionalModules": ["Dynamics.AX.ApplicationSuite.Forms.*.netmodule"],
"logging": { "exceptions": false }
}
| Option |
Description |
justMyCode |
On by default. Turning it off makes every exception the environment throws go through the debugger, which can make the environment stop responding |
additionalModules |
More modules whose symbols load, added to your packages and the module of each standard element with a breakpoint. Wildcards allowed |
symbolOptions |
Replaces the symbol options entirely (vsdbg symbolOptions) |
logging |
vsdbg logging, e.g. { "exceptions": false } |
processName, sourceFileMap |
Process to attach to (AXHost.exe) and extra source mappings |
While the debugger is stopped, the environment's server is paused for every user: continue or disconnect promptly.
Status
This extension is a preview. Some features have not been verified end to end on a live environment:
- the version drift guard;
- Open Team Repository on a real team repository;
- Try Data Entity and Try Service Operation;
- Verify Changes in the Running App.
To report a problem, use Report a Problem… or open an issue on GitHub.
Code signing policy
Free code signing provided by SignPath.io, certificate by SignPath Foundation. The extension's server is built from the public source on GitHub Actions and signed after a manual approval. Team roles, what is signed and the privacy statement: code signing policy. This program will not transfer any information to other networked systems unless specifically requested by the user or the person installing or operating it.
Licensed under the Apache License 2.0.
F&O Studio is an independent project and is not affiliated with or endorsed by Microsoft. Dynamics 365 is a trademark of Microsoft Corporation.
| |