I am posting this query again.Soory, but I dont know how to ask doubts about already asked query.
I am using a COM dll as a reference in my Project. I want that dll to be referenced from any location of computer.
<runtime>    <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">        <dependentAssembly>             <assemblyIdentity                 name="MyAssembly"                 culture=""                 publicKeyToken="8968ee41e78ce97a" />             <codeBase                 version="1.0.0.0"                 href="file://c:/some_path/myassembly.dll" />        </dependentAssembly>    </assemblyBinding></runtime>
I have added above mentioned code in App.config file. After signing the Interop.Microsoft.Office.Interop.Excel.dll which was unsigned earlier,I have given proper value for PublicKeytoken.
This I think works fine.
but when i run the application the exe expects the dll to present in same folder & that too
the unsigned version.
Can anyone suggest me, if there is anything which i am missing in my code?
Thanks, Amit
PS: During coding, I had added reference of unsigned version of dll. from C:\Program files...\ [Already existing dll, microsoft provided]