views:

9

answers:

1

I am working on a Visual Studio plug-in. Given a VSLangProj.Reference, is there a way to programmatically determine if that reference is a project reference or a file reference?

A: 

in VS 2008 the Reference Type has a property called SourceProject

Gets a Project object if the reference is a project. Otherwise, it returns Nothing (a null reference). Read-only.

Preet Sangha
I was sure that I tried that and it didn't give the proper results. But at your prompting I tried it again and it seems to be working properly after all. Thanks!
mreith
lol - works on my machine type thing.
Preet Sangha