Accessing the project system from a Visual Studio MEF Editor extension

Posted by Daniel Plaisted on Stack Overflow See other posts from Stack Overflow or by Daniel Plaisted
Published on 2010-03-22T00:54:25Z Indexed on 2010/03/22 1:01 UTC
Read the original article Hit count: 414

Filed under:
|
|
|
|

I'm writing a Visual Studio editor extension using the VS 2010 SDK RC. I'd like to be able to figure out what the references of the current project are. How do I get access to the project corresponding to the current editor?

The documentation on editor extensions doesn't seem to include information on how to access non-editor parts of Visual Studio. I did some searching and it looks like in VS2008 you could write add-ins that would access the project system, but I'm trying to get at this functionality from a MEF editor extension.

© Stack Overflow or respective owner

Related posts about vsx

Related posts about vs-sdk