Download the extension from the Visual Studio Marketplace or get the latest CI build
A template for shipping Textmate Grammar files as a Visual Studio extension.
A simple project is created with everything needed to ship a Textmate Grammar files.
Replace the Grammar/Language.plist file with any XML or JSON based grammar file and make sure the files are marked as Content and Inluded in VSIX.
Now build the project and a .vsix files is generated in the /bin directory. This is the extension containing the Textmate grammar.
Read more about Textmate Grammar support in the VSSDK-Samples repo.