Visual Studio Question: How to go to a specific file path and line number programmatically?

Posted by Jack on Stack Overflow See other posts from Stack Overflow or by Jack
Published on 2010-04-29T21:22:43Z Indexed on 2010/04/29 21:27 UTC
Read the original article Hit count: 251

In the Visual Studio output window, you can double click a line that contains a file path and line number and it automatically takes you to that location. In my program, I need to mimic this behavior and be able to click something (a button for example) and do go to a specific file and line number that I tell it to go to. Any help/suggestions would be appreciated.

I am working in C#.

© Stack Overflow or respective owner

Related posts about visual-studio-2008

Related posts about visual-c#-express-2010