Jump to content
  • Advertisement
Sign in to follow this  
Lyve

Automating Visual Studio .NET

This topic is 4959 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
Advertisement
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
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!