Castle 远程设备不工作
城堡中的远程处理功能仍然有效吗?
我从 http://www.castleproject.org/container/facilities 下载了示例/trunk/remoting/usingit.html 将项目更改为框架的目标 4.0。
然后,我删除了客户端和服务器项目中对 castle 的引用,然后添加了对 castles“bin-dotNet40”文件夹中 Castle.Core 和 Castle.Windsor dll 的引用。
当我运行服务器时,出现以下异常: 无法从“Castle.Facilities.Remoting.RemotingFacility、Castle.MicroKernel”转换为 System.Type - 也许找不到类型,
感谢您的回复
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
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Castle.MicroKernel.dll 不再存在(它已合并到 Castle.Windsor.dll 中),因此正确的完全限定类型名称现在为
Castle.Facilities.Remoting.RemotingFacility, Castle.Windsor
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