X++ Copillot is now coming with AI Copilot, in Visual Studio. A Visual Studio 2022 extension (VSIX) combined with a Microsoft Copilot Plugin (MCP) server that equips GitHub Copilot with full Dynamics 365 Finance & Operations (D365FO) X++ awareness.
This solution bridges the gap between AI code assistance and the specialized X++ language + D365FO MetaModel API, enabling developers to work with Copilot as if it were a native D365FO expert; simply install the following VSIX, and start leveraging the code geneation capabilities.
This solution bridges the gap between AI code assistance and the specialized X++ language + D365FO MetaModel API, enabling developers to work with Copilot as if it were a native D365FO expert; simply install the following VSIX, and start leveraging the code geneation capabilities.
How to enable the same?
Grab and install the VSIX from the following GitHub URL: https://github.com/nazmolla/XppAiCopilotCompanion/releases, along with the source code.
The package in its all new avatar is supporting a panoramic range of objects:
Fully Supported (All Operations Passed)
Core Development
- AxClass
- AxTable
- AxView
- AxDataEntityView
- AxEdt
- AxEnum
- UI & Navigation
- AxForm
- AxMenu
- AxMenuItemAction
- AxMenuItemDisplay
- AxMenuItemOutput
- AxTile
- Security
- AxSecurityPrivilege
- AxSecurityDuty
- AxSecurityRole
- Services & Configuration
- AxService
- AxServiceGroup
- AxConfigurationKey
All of the above are stable for: Read, Create, Update, Validate. Only Readonly are AxQuery objects.
Install the VSIX. Close and reopen your VS.
If you are using UDE, under the Tools >> Options >> X++ AI Copilot >> check out if the following properties are set corrrectly (for example check if Packages Local directory and Environment Type are correct and not empty).
You can start using your Copilot AI for X++ now. Click on Extensions >> X++ AI Copilot >> Register/Start MCP Tools. This will result in the MCP tool initiatation, which you can find under the Output node:
Click on Extensions >> X++ AI Copilot >> Select Create Object:
Select for example AxClass (object type) >> then choose Object name = KSNCustTable_Extension:
And then in the negxt step >> define what ever you want your class to do:
Define what exactly you want your code to >. Hit Ok to proceed. This will generate the COC for the desired object/extension class.

Like
Report
*This post is locked for comments