How to differentiate between Project reference and assembly reference?
-
hi, I am using CodeModel apis to parse a CSPROJ (C# project) file. The VSProject::References API will return all refernces. How to differentiate between Project reference and assembly reference? Regards, Manish
-
hi, I am using CodeModel apis to parse a CSPROJ (C# project) file. The VSProject::References API will return all refernces. How to differentiate between Project reference and assembly reference? Regards, Manish
I don't know any details, but a quick look in a CSPROJ file shows assembly references under <Reference> keys while project references are under <ProjectReference> keys. Open a CSPROJ file in a text editor - it's XML. Mark
Mark Salsbery Microsoft MVP - Visual C++ :java:
-
I don't know any details, but a quick look in a CSPROJ file shows assembly references under <Reference> keys while project references are under <ProjectReference> keys. Open a CSPROJ file in a text editor - it's XML. Mark
Mark Salsbery Microsoft MVP - Visual C++ :java:
-
Ditto. Just open up the proj file and examine the contents. The tags are pretty descriptive
Any suggestions, ideas, or 'constructive criticism' are always welcome. "There's no such thing as a stupid question, only stupid people." - Mr. Garrison
Hi, I am aware that the project references can be identified from CSPROJ file. However, my query was "Is there any code model API which can do this for me"? Regards, Manish