The title is self explanatory. I would like to add a button to a toolbar in order to run an external executable.
How can I do this?
Simply activate the "Build" toolbar in View > Toolbars. This adds the Start Without Debugging, Build Project, and Build Solution buttons to the Toolbar.
To build your program and create teh executable file choose Build My Project.exe from the Build menu - "My Project" represents teh name you chose for your project and the extension ".exe" is used to designate that the file being created will be an executable file.
Add the application as an "External Tool", using Tools... > External Tools. Take note of where your entry was added to the list; on a stock vs2010, that would be entry #5.
Click the mini drop-down button on the right side of your toolbar and select Add or Remove Buttons > Customize...
Click Add Command..., select the Tools category on the left, then External Command N on the right, where N is the entry number from the External Tools dialog.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With