<codebase> and <privatepath>

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • akshaycjoshi
    New Member
    • Jan 2007
    • 153

    <codebase> and <privatepath>

    While probing for an external private assembly in App.config file we can specift the <codebase> and <privatepath> .
    What is the difference between the two ?
    Suppose the application is in c:\applications \myapplication

    Thank u
  • akshaycjoshi
    New Member
    • Jan 2007
    • 153

    #2
    Hey it's not answered !

    Comment

    • Frinavale
      Recognized Expert Expert
      • Oct 2006
      • 9749

      #3
      Originally posted by akshaycjoshi
      While probing for an external private assembly in App.config file we can specift the <codebase> and <privatepath> .
      What is the difference between the two ?
      Suppose the application is in c:\applications \myapplication

      Thank u
      The <codebase> element is used to indicate where the common language runtime (CLR) can find an assembly. Check out this article.

      The <probing> element specifies application base subdirectories for the CLR to search when loading assemblies. It's attribute "privatePat h" specifies subdirectories of the application's base directory that might contain assemblies.

      -Frinny

      Comment

      Working...