Click here to Skip to main content
13,863,412 members
Rate this:
 
Please Sign up or sign in to vote.
See more:
I have a command like below
apidoc -i "filepath" -o "filepath"/doc/
but i want to excecute automatically while building the application.

What I have tried:

{
"label": "echotest",
"command": "apidoc -i "filepath" -o "filepath"/doc/",
"args": ["test"],
"type": "shell"
}

but it's not working.
Posted
Updated 11-Feb-19 2:54am

1 solution

Rate this: bad
 
good
Please Sign up or sign in to vote.

Solution 1

1.Right click on the project in the solution explorer and choose properties
2. Click on the Build events in the left pane
3. in the pre-build area type in the commands you want to run
   
Comments
Member 11592964 11-Feb-19 23:08pm
   
how to do that in visual studio code
RmcbainTheThird 12-Feb-19 7:44am
   
Don't know myself but Google told me about this
https://code.visualstudio.com/docs/editor/tasks#_custom-tasks

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


Advertise | Privacy | Cookies | Terms of Service
Web01 | 2.8.190214.1 | Last Updated 11 Feb 2019
Copyright © CodeProject, 1999-2019
All Rights Reserved.
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100