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 reference not found when changing the app path

DLL reference not found when changing the app path

Scheduled Pinned Locked Moved C#
help
7 Posts 3 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.
  • M Offline
    M Offline
    Member 3727499
    wrote on last edited by
    #1

    Hi, i'm having this problem and can't find a solution. This image describes all the problem.(Image) Thanks a lot.

    L H 2 Replies Last reply
    0
    • M Member 3727499

      Hi, i'm having this problem and can't find a solution. This image describes all the problem.(Image) Thanks a lot.

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

      Please post your problem directly in the question and not thru external links. There are many people like me who are behind firewalls and can't access those links.

      1 Reply Last reply
      0
      • M Member 3727499

        Hi, i'm having this problem and can't find a solution. This image describes all the problem.(Image) Thanks a lot.

        H Offline
        H Offline
        HimanshuJoshi
        wrote on last edited by
        #3

        There are only two places the dll will be searched if you have added them as reference 1. Current working directory 2. C:\windows\system32 (till XP). You can place your dlls in any of these places. Otherwise it won't get loaded

        L 1 Reply Last reply
        0
        • H HimanshuJoshi

          There are only two places the dll will be searched if you have added them as reference 1. Current working directory 2. C:\windows\system32 (till XP). You can place your dlls in any of these places. Otherwise it won't get loaded

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

          Have you ever heard of anything called assembly probing ?

          H 1 Reply Last reply
          0
          • L Lost User

            Have you ever heard of anything called assembly probing ?

            H Offline
            H Offline
            HimanshuJoshi
            wrote on last edited by
            #5

            Shameel wrote:

            Have you ever heard of anything called assembly probing ?

            No

            L 1 Reply Last reply
            0
            • H HimanshuJoshi

              Shameel wrote:

              Have you ever heard of anything called assembly probing ?

              No

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

              You can actually instruct Fusion (the assembly resolution subsystem of CLR) to check subfolders (in your app's folder) for referenced assemblies. This has to be done in the application's config file. You can even compile referenced assemblies as embedded resources in your app and dynamically extract them and provide it to Fusion. For an example of this, visit www.albahari.com

              H 1 Reply Last reply
              0
              • L Lost User

                You can actually instruct Fusion (the assembly resolution subsystem of CLR) to check subfolders (in your app's folder) for referenced assemblies. This has to be done in the application's config file. You can even compile referenced assemblies as embedded resources in your app and dynamically extract them and provide it to Fusion. For an example of this, visit www.albahari.com

                H Offline
                H Offline
                HimanshuJoshi
                wrote on last edited by
                #7

                Didn't know that. Thank you very much for that.

                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