We have some special editors we host in a VSPackage that operate on some of the standard C++ and C# project types. I'm looking for a way to automatically load our package when a particular "kind" of C++ project/C# project is loaded. By "kind" I mean that we add some MSBuild properties to the project. I know we could trap solution events and parse MSBuild files directly and call LoadPackage explicitly, but I'm looking for a more "direct" way. For instance, if we were to flavor the C# project with our own project factory, then that would directly load our package on project load. But, C++ projects still do not support flavoring (or at least I don't believe they do), so that won't work.
I'm not sure if there is something we could put in the .sln file to make this work, but that's a possibility.
Kirk Fertitta