Automating Visual Studio .NET
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
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
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
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement