I need to achieve some kind of extensibility for a custom project template.
Having a C# code file opened, if...:
- ...current project has some specific type id.
- ...code file is a class and inherits some concrete base class.
- ...user pressed F5.
...I'd like to...:
- ...start an arbitrary program (a console application).
- ...attach Visual Studio to the process of the arbitrary program.
- ...debug.
Actually I'm absolutely lost and I don't know how to do so. I know I need Visual Studio 2010 SDK, but I don't know how to create an extension doing what I need to achieve.
Thank you in advance.
UPDATE
I'm doing some research in Stackoverflow Q&A and I'll be adding questions related to my own one:
Visual Studio 2010 Extensibility - Override Build Action without effecting cproj file
"Attach to Process" as a post-build event (This seems fine, but I don't like the approach. I prefer a full Visual Studio integration. Anyway, it gives a hint).