Manifest file structure
The structure of the manifest is as follows.
File Name
manifest.json
(must be one directly under the folder for each extension)
Description format
- JSON format
note
- Manifest descriptions are case sensitive.
Description
Details will be explained on the following pages.
{
//Extension definition
"name": "Hello World",
"main": "main.cs",
"lifecycle": "application",
//Extension point definition
"extensionPoints": {
//Ribbon
"ribbon": {
"tabs": [
//Ribbon tab
{
"id": "HelloWorld.MainTab",
"label": "Hello World",
"groups": [
//Groups in the ribbon tab
{
"id": "HelloWorld.FirstGroup",
"label": "Group 1",
"controls": [
//button
{
"id": "HelloWorld.SayHelloButton",
"type": "Button",
"label": "Say Hello",
"imageLarge": "images/About.png",
"command": "Command.SayHello"
}
]
}
]
}
]
},
//Command
"commands": [
{
"id": "Command.SayHello",
"execFunc": "SayHello"
}
]
}
}