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. Dll

Dll

Scheduled Pinned Locked Moved C#
dotnethelptutorialworkspace
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.
  • S Offline
    S Offline
    sindhutiwari
    wrote on last edited by
    #1

    Hi I have developed a project in which i am using a external dll file now i created a setup project .. so whenever i am installing it on the clients PC .its giving a error error is bcoz of that dll which was not added to the Clients GAC so how to do this i have tried these things 1. Added the reference of DLL while developing the software 2. Added the Dll To the GlobalAssemblyCache folder while doing setup the above things dint work when i published that project it worked i want to do this thru the setup project ....... if anyone knows this then plz do let me know regards sindhu tiwari

    Always Innovative

    J K 2 Replies Last reply
    0
    • S sindhutiwari

      Hi I have developed a project in which i am using a external dll file now i created a setup project .. so whenever i am installing it on the clients PC .its giving a error error is bcoz of that dll which was not added to the Clients GAC so how to do this i have tried these things 1. Added the reference of DLL while developing the software 2. Added the Dll To the GlobalAssemblyCache folder while doing setup the above things dint work when i published that project it worked i want to do this thru the setup project ....... if anyone knows this then plz do let me know regards sindhu tiwari

      Always Innovative

      J Offline
      J Offline
      JoeRip
      wrote on last edited by
      #2

      Did you create the DLL yourself, or is it a 3rd party DLL? I don't know much about this, but I just recently read (in a book) some things about using 3rd party DLL's. One of the drawbacks of using somebody else's DLL is that you supposedly cannot add it to the GAC yourself, because it's not digitally signed by YOU. So, you'll need to manually copy the DLL to the same folder as your exe, if I remember correctly. Beyond this, I am worthless, having never created a setup program for a .Net product yet...

      S 1 Reply Last reply
      0
      • J JoeRip

        Did you create the DLL yourself, or is it a 3rd party DLL? I don't know much about this, but I just recently read (in a book) some things about using 3rd party DLL's. One of the drawbacks of using somebody else's DLL is that you supposedly cannot add it to the GAC yourself, because it's not digitally signed by YOU. So, you'll need to manually copy the DLL to the same folder as your exe, if I remember correctly. Beyond this, I am worthless, having never created a setup program for a .Net product yet...

        S Offline
        S Offline
        sindhutiwari
        wrote on last edited by
        #3

        thanks allot for ur reply......ya its a third party Dll .....a question is copying dll to same folder will solve the problem sindhu tiwari

        its me sid

        1 Reply Last reply
        0
        • S sindhutiwari

          Hi I have developed a project in which i am using a external dll file now i created a setup project .. so whenever i am installing it on the clients PC .its giving a error error is bcoz of that dll which was not added to the Clients GAC so how to do this i have tried these things 1. Added the reference of DLL while developing the software 2. Added the Dll To the GlobalAssemblyCache folder while doing setup the above things dint work when i published that project it worked i want to do this thru the setup project ....... if anyone knows this then plz do let me know regards sindhu tiwari

          Always Innovative

          K Offline
          K Offline
          KaptinKrunch
          wrote on last edited by
          #4

          If the dll really needs to be registered, You'll need to run regsrv32 during the setup process. http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/regsvr32.mspx?mfr=true[^]

          Just because we can; does not mean we should.

          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