Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. .NET (Core and Framework)
  4. How to differentiate between Project reference and assembly reference?

How to differentiate between Project reference and assembly reference?

Scheduled Pinned Locked Moved .NET (Core and Framework)
csharpjsontutorialquestion
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    Manish Paul
    wrote on last edited by
    #1

    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

    M 1 Reply Last reply
    0
    • M Manish Paul

      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

      M Offline
      M Offline
      Mark Salsbery
      wrote on last edited by
      #2

      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:

      J 1 Reply Last reply
      0
      • M Mark Salsbery

        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:

        J Offline
        J Offline
        Jon_Boy
        wrote on last edited by
        #3

        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

        M 1 Reply Last reply
        0
        • J Jon_Boy

          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

          M Offline
          M Offline
          Manish Paul
          wrote on last edited by
          #4

          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

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups