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 error

dll error

Scheduled Pinned Locked Moved C#
helpcomdebuggingtutorial
7 Posts 4 Posters 1 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
    Enobong Adahada
    wrote on last edited by
    #1

    i have encountered this error in my program, i don't know how to solve it pls can someone help. Error 1 The type 'Sosinpw.SheetStatus' exists in both 'd:\projects\necoscan\necoscan\obj\Debug\Interop.Sosinpw.dll' and 'c:\Program Files\DRS\SKW\Interop.Sosinpw.dll' thank you.

    L A 2 Replies Last reply
    0
    • E Enobong Adahada

      i have encountered this error in my program, i don't know how to solve it pls can someone help. Error 1 The type 'Sosinpw.SheetStatus' exists in both 'd:\projects\necoscan\necoscan\obj\Debug\Interop.Sosinpw.dll' and 'c:\Program Files\DRS\SKW\Interop.Sosinpw.dll' thank you.

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      It looks like you are trying to include two versions of the same library into your project. Remove the one that you do not need.

      It's time for a new signature.

      E 1 Reply Last reply
      0
      • L Lost User

        It looks like you are trying to include two versions of the same library into your project. Remove the one that you do not need.

        It's time for a new signature.

        E Offline
        E Offline
        Enobong Adahada
        wrote on last edited by
        #3

        thanks you for your reply, I have only added refrence to one, but when the project is compiled, the dll is copied to the debug folder, and then the comflict. is it something i'm not doinh right. thank you

        P 1 Reply Last reply
        0
        • E Enobong Adahada

          i have encountered this error in my program, i don't know how to solve it pls can someone help. Error 1 The type 'Sosinpw.SheetStatus' exists in both 'd:\projects\necoscan\necoscan\obj\Debug\Interop.Sosinpw.dll' and 'c:\Program Files\DRS\SKW\Interop.Sosinpw.dll' thank you.

          A Offline
          A Offline
          Arun Jacob
          wrote on last edited by
          #4

          Can you clean the debug folder and then try again.

          Arun Jacob My Technical Blog : Code.NET

          E 1 Reply Last reply
          0
          • E Enobong Adahada

            thanks you for your reply, I have only added refrence to one, but when the project is compiled, the dll is copied to the debug folder, and then the comflict. is it something i'm not doinh right. thank you

            P Offline
            P Offline
            Pete OHanlon
            wrote on last edited by
            #5

            Do you have this DLL referenced in the gac, and are you attempting to add a local copy of the same?

            "WPF has many lovers. It's a veritable porn star!" - Josh Smith

            As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.

            My blog | My articles | MoXAML PowerToys | Onyx

            E 1 Reply Last reply
            0
            • P Pete OHanlon

              Do you have this DLL referenced in the gac, and are you attempting to add a local copy of the same?

              "WPF has many lovers. It's a veritable porn star!" - Josh Smith

              As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.

              My blog | My articles | MoXAML PowerToys | Onyx

              E Offline
              E Offline
              Enobong Adahada
              wrote on last edited by
              #6

              All i did is to add a reference to it from the add reference dialogue of the project menu item.

              1 Reply Last reply
              0
              • A Arun Jacob

                Can you clean the debug folder and then try again.

                Arun Jacob My Technical Blog : Code.NET

                E Offline
                E Offline
                Enobong Adahada
                wrote on last edited by
                #7

                I have done this, and still getting the same error after first compilation attempt. thank you.

                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