问题描述
远程设施是否仍在城堡中工作?
我从
将项目更改为目标框架4.0。
然后我在客户端和服务器项目中都删除了对Castle的引用,然后从 bin-dotNet40文件夹中添加了对Castle.Core和Castle.Windsor dll的引用。 / p>
运行服务器时,出现以下异常:
无法从 Castle.Facilities.Remoting.RemotingFacility,Castle.MicroKernel转换为System.Type -可能找不到类型
感谢您的回复
Castle.MicroKernel.dll不再存在(它已合并到Castle.Windsor.dll中),因此正确的完全限定类型名称现在为 Castle.Facilities.Remoting.RemotingFacility,Castle.Windsor
Does remoting facility still work in castle?
i downloaded sample from http://www.castleproject.org/container/facilities/trunk/remoting/usingit.html changed project to target 4.0 of framework.
Then I deleted references to castle in both client and server projects and then added references to Castle.Core and Castle.Windsor dlls from castles "bin-dotNet40" folder.
When I run the server I get the follwoing exception:Could not convert from 'Castle.Facilities.Remoting.RemotingFacility, Castle.MicroKernel' to System.Type - Maybe type could not be found
thanks for responses
Castle.MicroKernel.dll is no more (it was merged into Castle.Windsor.dll), so the correct fully qualified type name is now Castle.Facilities.Remoting.RemotingFacility, Castle.Windsor
这篇关于城堡远程设施不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!