CAO and GAC Issue
I have a .NET Remoting server application (TCP, binary) and it works fine when it loads the defined types from the private assembly, but when I put that assembly in the GAC then I get FileNotFoundException. In the MSDN doc it says:
"
<activated
type="type,assembly"
/>
Specifies the full type name of the object and the name of the assembly that contains the type implementation. This includes version, culture, and public key information if the containing assembly is in the global assembly cache.
"
but when I put the version, ... info in the config file, then it raises a kind of parsing error
"information is present in the assembly name ..... which is not allowed for 'service activated' entries."
Now the question is how to load types from the assemblies located in GAC in CAO model (I guess that is not an issue for SAO.
===========================================================
Additional Info:
If you look at this document (http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpgenref/html/gnconActivatedServiceInstance.asp) it says if the containing assembly is in theglobal assembly cache then the type should include version, culture, and public key information if the containing assembly.
But if the other document (http://winfx.msdn.microsoft.com/library/default.asp?url=/library/en-us/dv_fxremoting/html/69a4211e-f45f-4615-9fd8-db8458b15116.asp) under the section called Client-Activated Objects says it is important to note that you cannot specify the version number for client-activated types when configuring the service which contradicts what the first document says.

