wip
wip

Reputation: 2442

How to get an IVsProject's full path, name?

Thanks to this Stackoverflow question, I can enumerate between the projects in my editor.
Now, I would like to get more information about the IVsProject I got, but the MSDN reference does not really point me to any solution.
How should I do to get the project's name (and full path) ? Also, is there an online resource more detailed/easier to explore than MSDN reference, about the Visual Studio SDK ?

Upvotes: 2

Views: 782

Answers (1)

Sheng Jiang 蒋晟
Sheng Jiang 蒋晟

Reputation: 15261

BSTR* fileName;
HRESULT hr=pvsProject->GetMkDocument(VSITEMID_ROOT,&fileName);

Upvotes: 2

Related Questions