There is no version checking for assemblies without strong names , nor does the runtime check in the global assembly cache for assemblies without strong names 不对没有强名称的程序集进行版本检查,并且运行库也不在全局程序集缓存中检查没有强名称的程序集。
Deploy a metadata - only assembly on the client with the same name and type information as the server assembly , and disable version checking or leave versions blank 在客户端部署一个仅包含元数据的程序集(此程序集与服务器程序集具有相同的名称和类型信息) ,并禁用版本检查或者将版本留为空白。
Name your remote type server library with the same name as the client assembly , disable version checking in the formatter or leave both assemblies without version information , and compile a stubbed - out class with identical metadata into your client 将远程类型服务器库命名为与客户端程序集相同的名称,禁用格式化程序中的版本检查(或使两个程序集都不带版本信息) ,并且将具有相同元数据的无存根( stubbed - out )类编译到客户端中。