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. How to build a DLL in C#?

How to build a DLL in C#?

Scheduled Pinned Locked Moved C#
questioncsharptutorial
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.
  • E Offline
    E Offline
    E6AD
    wrote on last edited by
    #1

    Hi everyone, Can someone please tell me how can I build a DLL in C#? Best Regards, E.A.

    A J 2 Replies Last reply
    0
    • E E6AD

      Hi everyone, Can someone please tell me how can I build a DLL in C#? Best Regards, E.A.

      A Offline
      A Offline
      Allah On Acid
      wrote on last edited by
      #2

      Is there not an option to make a Class Library? In VS.net Standard, the option is not there, but you can always use SharpDevelop[^]. It is a free development environment.


      Pumk1nh3ad illustrates that Intelligent Design oft goes awry. - Ed Gadziemski

      1 Reply Last reply
      0
      • E E6AD

        Hi everyone, Can someone please tell me how can I build a DLL in C#? Best Regards, E.A.

        J Offline
        J Offline
        Jon Rista
        wrote on last edited by
        #3

        The "Class Library" project type always compiles into a .dll. Keep in mind, though, that this is a .NET assembly, not your common Win32 .dll that can be linked into an MFC app. If you need a .dll that can interop with a normal windows or MFC app, you will want to go into the projects properties, and enable exposing the project through COM.

        E 1 Reply Last reply
        0
        • J Jon Rista

          The "Class Library" project type always compiles into a .dll. Keep in mind, though, that this is a .NET assembly, not your common Win32 .dll that can be linked into an MFC app. If you need a .dll that can interop with a normal windows or MFC app, you will want to go into the projects properties, and enable exposing the project through COM.

          E Offline
          E Offline
          E6AD
          wrote on last edited by
          #4

          Thanks Jon. But is that the only step required to expose the project through COM? Do you have any detailed link that can help me out with that? Thanks again, E.A.

          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