I have a WCF service library and a windows service as a host.
I would like to make ServiceHost to load WCF service library(to get service type from that assembly) from any directory and not only from current dir.
I have a WCF service library and a windows service as a host. I
Share
One way is configuration –
Another way is code –
Assembly assembly = Assembly.LoadFile(path);