Same question about this topic, when I try to add the code behind to the app.config,
it workes in a Windows Application (such as winform, wpf), however, this doesn't work when it comes a Assembly load error.
Waiting for the reply.
Best Regards,
Penn Ye.
<runtime>
<assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
<probing privatePath="NetOffice" />
</assemblyBinding>
</runtime>
and copy the dlls to the bin\Debug\NetOffice folder, or add the dlls the the project\NetOffice folder, add them into project, and build them into Debug folder automatically.it workes in a Windows Application (such as winform, wpf), however, this doesn't work when it comes a Assembly load error.
Waiting for the reply.
Best Regards,
Penn Ye.