Sign in to follow this  

Automating Visual Studio .NET

This topic is 4711 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello members, our company needs the following automation of Visual Studio .NET 2003 to be able to edit scripts in a fast way. The following tasks should be done by DevStudio automatically: 1: It should load a specific solution 2: It should open a specific cpp file from that solution 3: It should go to a specific function that is available in the cpp file 1) is no problem, but what about the others? 2) is a problem because DevStudio can only open a cpp file OR a solution (OR a project), but not a solution, then a cpp file. And what about 3) ? No idea, at least it's not possible from the command line. Any ideas? Any help would be great. Thanks, Lyve

Share this post


Link to post
Share on other sites
You can pass commands to the development environment like so:

devenv /command CommandName

The command can be user created macros. A macro to do what you want will probably look like:

File.OpenSolution "c:\MySolutions\Test1\Test1.sln"
File.OpenFile "C:\My Projects\Test1\Test1.cpp"
Edit.QuickFindSymbol CMyClass

Share this post


Link to post
Share on other sites

This topic is 4711 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this