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. C#
  4. add reference

add reference

Scheduled Pinned Locked Moved C#
csharpcomquestion
2 Posts 2 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.
  • Y Offline
    Y Offline
    yyf
    wrote on last edited by
    #1

    Hi, everyone I don't have much knowledge about component or dll these kind of stuff. When I add a dll to my .Net project using add reference, some of them ok, some of them no. So what kind of dll or exe etc. can be added into .Net project by Add reference? And what's difference between the '.Net' tab and 'com' tab? Thanks in advance.

    H 1 Reply Last reply
    0
    • Y yyf

      Hi, everyone I don't have much knowledge about component or dll these kind of stuff. When I add a dll to my .Net project using add reference, some of them ok, some of them no. So what kind of dll or exe etc. can be added into .Net project by Add reference? And what's difference between the '.Net' tab and 'com' tab? Thanks in advance.

      H Offline
      H Offline
      Heath Stewart
      wrote on last edited by
      #2

      The .NET tab lists .NET Assemblies. When you click the Browse... button, you must pick a .NET assembly which uses the same extension. These contain a different PE/COFF header bit and different executable segments. If you want a shell extension that visual identifies .NET Assemblies (only .dlls, though, but those are all you can reference using VS.NET) by using an overlay icon, download and install my Shell Extensions for .NET Assemblies[^]. The COM tab lists COM controls (ActiveX controls) and COM typelibs (design-time discovery information, which VB6 and below uses as well). When you click the Browse... button, you must pick a DLL or OCX that contains COM information. The Projects tab lists other projects in your solution. Use this when developing a multi-project solution to keep assembly references in sync with the current build configuration. You should read some books on .NET development. These concepts are necessary to understand if you want to start writing anything other than "Hello, world" applications.

      Microsoft MVP, Visual C# My Articles

      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