Created
December 11, 2019 02:11
-
-
Save DanielMPries/b8a9d814144407494f08539d7519ce6c to your computer and use it in GitHub Desktop.
Tool and task for Xml Doc Markdown
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"version": "2.0.0", | |
"tasks": [ | |
{ | |
"label": "Generate documentation", | |
"command": "xmldocmd", | |
"type": "process", | |
"args": [ | |
"TARGET_PROJECT.dll", | |
"Docs" | |
], | |
"windows": { | |
"options": { | |
"cwd": "${workspaceRoot}\\Published" | |
} | |
}, | |
"linux": { | |
"options": { | |
"cwd": "${workspaceRoot}/Published" | |
} | |
}, | |
"group": { | |
"kind": "build", | |
"isDefault": true | |
}, | |
"dependsOn": [ | |
"Release" | |
], | |
"problemMatcher": [ | |
"$msCompile" | |
] | |
}, | |
{ | |
"label": "Release", | |
"command": "dotnet", | |
"type": "process", | |
"windows": { | |
"options": { | |
"cwd": "${workspaceRoot}\\TARGET_PROJECT_FOLDER" | |
}, | |
"args": [ | |
"build", | |
"--configuration", | |
"Release", | |
"--output", | |
"${workspaceRoot}\\Published", | |
"--clean" | |
] | |
}, | |
"linux": { | |
"options": { | |
"cwd": "${workspaceRoot}/TARGET_PROJECT_FOLDER" | |
}, | |
"args": [ | |
"build", | |
"--configuration", | |
"Release", | |
"--output", | |
"${workspaceRoot}/Published" | |
] | |
}, | |
"group": { | |
"kind": "build", | |
"isDefault": true | |
}, | |
"problemMatcher": [ | |
"$msCompile" | |
] | |
} | |
] | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dotnet tool install xmldocmd -g |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment