SideBySide Error with Binding Redirect in .net Windows Service
问题 I have a .net windows service which needs to load two different versions of an assembly. It runs on a server 2012 R2 box. I am using a binding redirect in separate .config file which is loaded into the main app.config using this before the closing </configuration> node (see MSDN doc): <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1"> <linkedConfiguration href="file://E:\my-service\runtime.config" /> </assemblyBinding> My runtime.config contains the actual binding redirect: