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 the global assembly cache then the type should include version, culture, and public key information if the containing assembly.< xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />
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.

CAO and GAC Issue
LuisFPF
I do see the discrepancy but that could be because, the WinFX documentation refers to v2.0 Beta 2 of the .NET Framework while, the MSDN one refers to the v1.1 of .NET Framework.
The MSDN2 link which refers to .NET v2.0 documentation does not mention anything:
http://msdn2.microsoft.com/library/7xcfyf33(en-us,vs.80).aspx
Regards,
Vikram
Iouri Simernitski - MSFT
I don't have it, actually I removed it from the GAC, but you can create a sample project to experience it by yourself, meanwhile I would appreciate if you answer the question in the "Additional Info" part. I mean the contradiction in MSDN library:
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 the global assembly cache then the type should include version, culture, and public key information if the containing assembly.< xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />
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.
Cesar.NET