Skip to content

Instantly share code, notes, and snippets.

@bogdanbujdea
Created February 1, 2019 12:12
Show Gist options
  • Select an option

  • Save bogdanbujdea/d56d6a1507bf69f07920f129278523af to your computer and use it in GitHub Desktop.

Select an option

Save bogdanbujdea/d56d6a1507bf69f07920f129278523af to your computer and use it in GitHub Desktop.
Settings for running COM add-in inside VS Code
{
"solution": "${workspaceRoot}/SOLUTION_NAME.sln",
"variables": {
"MSBUILD": "C:/Program Files (x86)/Microsoft Visual Studio/2017/Enterprise/MSBuild/15.0/Bin/MSBuild.exe",
"DEVENV": "C:/Program Files (x86)/Microsoft Visual Studio/2017/Enterprise/Common7/IDE/devenv.com"
},
"buildConfigurations": [
"Debug",
"Release"
],
"preBuildTasks": [
{
"name": "Print a message",
"program": "cmd",
"args": [ "/c", "echo [pre-build task]: MESSAGE" ],
"cwd": "${workspaceRoot}"
}
],
"postBuildTasks": [
{
"name": "Print another message",
"program": "cmd",
"args": [ "/c", "echo [post-build task]: ANOTHER MESSAGE" ],
"cwd": "${workspaceRoot}"
}
],
"debugConfigurations": [
{
"name": "test",
"cwd": "${workspaceRoot}",
"program": "C:/Program Files/Microsoft Office/Office16/OUTLOOK.exe",
"args": []
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment