I was using the Visual Studio Express edition for my development works. During one of such occasion, I was required to check a piece of code which is called from an application. I thought the use the “Run External Programs” feature available in Visual Studio. I did not found the option and after searching, I found that it is available only in Full version of Visual studio. I searched for the solution on the net, but did not found any. I checked the files and found an option to run the same.
Below is the step as how you can run the external programs in Visual Studio –.
- Close the Solution /Project from the visual studio and go to the folder where you have saved this project. Look for the folder with the project name file that is generated along with the “*.SLN” (solution file). Refer the below screen shot.
- Open the above .USER file and add the below XML tag.
<StartAction>Program</StartAction>
<StartProgram>C:\Program Files\Notepad++\notepad++.exe<Your starting application path></StartProgram>
</PropertyGroup>
Now save and close the file.
Now save and close the file.
- Open the project in Visual Studio and run it. Your external program will run.
Hi Aby,
ReplyDeleteIt was very helpful blog for me.
Thanks
Keep on posting good blogs... :)
Why would you want to run an external program when VS starts?
ReplyDeleteActually i was doing a customization of an existing application. In the application i was adding my piece of code. To debug that piece of code, i needed the application in running mode. In such scenarios where you are adding / doing some customization in a application and using VS express.. this can be helpful..
DeleteRun External Programs
ReplyDeletedebug pointers are not hitting