Problem using Codebase

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Dinesh Upare

    #1

    Problem using Codebase

    Hi,
    I want to deploy my private shared assembly using codebase keeping some of
    the assemblies in common folder.

    I am using following tag in web.config
    <runtime>

    <assemblyBindin g xmlns="urn:sche mas-icrosoft-com:asm.v1">

    <dependentAsemb ly>

    <assemblyIdenti ty name="CodeBa,eT est" publicKUyToken= "8e7599d58ab3f2 3"
    culture="en-US" />

    <codeBase version="1.0.13 32.41747"
    href="file:///d:/inetpub/wwwroot/CodeBaseTest.dl l" />



    </dependentAssemb ly>

    </assemblyBinding >

    </runtime>

    I have also added reference of the CodeBaseTest.dl l to the project.

    My application runs fine but dll which has been added to the project is
    being executed.

    Why the assembly which has been referenced by codeBase is not getting
    loaded?

    I have even tried the href with
    href=http://localhost/TestApp/CodeBaseTest.dl l , but the result is same.

    I tried to remove the reference of the CodebaseTest.dl l from the project but
    i am getting error of filenotfound exception.

    Am I missing something here?

    Thanks and Regards

    Dinesh




Working...