Forum Discussion
How to create .mez file in VS code using the Power Query SDK?
Getting the Power Query SDK
The Power Query SDK can be downloaded from the Visual Studio Marketplace: Power Query SDK - Visual Studio Marketplace. If you instead have Visual Studio 2017 or 2019, then you can download and install the older version of the SDK here: Power Query SDK - Visual Studio Marketplace. Again, the instructions found in this book assume that you are using the new SDK for Visual Studio Code.
Clicking the Install button on the web page for the new Power Query SDK for Visual Studio Code launches Visual Studio Code and brings up the install page for the Power Query SDK. Simply click the Install button here to download and install the SDK.
With Visual Studio Code and the Power Query SDK installed, we can now create a custom connector for Power Query.
Launch Visual Studio Code if it is not running already. Access the Explorer and then create a new extension project by clicking the Create an extension project button as shown in below :